try fix 01108_restart_replicas_rename_deadlock flaps

This commit is contained in:
Alexander Tokmakov 2020-04-01 19:49:54 +03:00
parent 90dd36346e
commit f0607a8d30

View File

@ -63,6 +63,7 @@ timeout $TIMEOUT bash -c restart_thread_2 2> /dev/null &
wait
$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')"