Update 01108_restart_replicas_rename_deadlock.sh

This commit is contained in:
tavplubix 2020-04-02 00:39:59 +03:00 committed by GitHub
parent bd3d61e09f
commit b3553ba624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,9 +61,8 @@ timeout $TIMEOUT bash -c restart_thread_1 2> /dev/null &
timeout $TIMEOUT bash -c restart_thread_2 2> /dev/null & timeout $TIMEOUT bash -c restart_thread_2 2> /dev/null &
wait wait
sleep 3
$CLICKHOUSE_CLIENT -q "SYSTEM RESTART REPLICAS"
sleep 2
$CLICKHOUSE_CLIENT -q "SELECT sum(n), count(n) FROM merge(currentDatabase(), '^replica_01108_') GROUP BY position(_table, 'tmp')" $CLICKHOUSE_CLIENT -q "SELECT sum(n), count(n) FROM merge(currentDatabase(), '^replica_01108_') GROUP BY position(_table, 'tmp')"