mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update 01108_restart_replicas_rename_deadlock.sh
This commit is contained in:
parent
bd3d61e09f
commit
b3553ba624
@ -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')"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user