Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac29452

Browse files
committed
Now start_nodes works even with dropping repslots on ext cleanup.
But the problem of properly handling active repslots still requires attention. We should probably add some func 'prepare_for_ext_cleanup' which will forcefully destroy all such slots.
1 parent 3bbd750 commit ac29452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/shardman_start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ cd "${script_dir}/.."
77
make clean
88

99
restart_nodes # make sure nodes run
10-
for port in $master_port "${worker_ports[@]}"; do
10+
# first workers, then master
11+
for port in "${worker_ports[@]}" $master_port; do
1112
psql -p $port -c "drop extension if exists pg_shardman;"
1213
done
1314

0 commit comments

Comments
 (0)