mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Update 01459_manual_write_to_replicas_quorum_detach_attach.sh
This commit is contained in:
parent
30b0abe0c8
commit
35617d25c2
@ -36,7 +36,7 @@ done
|
||||
wait
|
||||
|
||||
for i in $(seq 1 $NUM_REPLICAS); do
|
||||
(while [[ $($CLICKHOUSE_CLIENT -q "SYSTEM SYNC REPLICA r$i;" 2>&1) ]]; do sleep 0.001; done) | grep -F "Exception: " | grep -Fv "Table is in readonly mode"
|
||||
(while [[ $($CLICKHOUSE_CLIENT -q "SYSTEM SYNC REPLICA r$i;" 2>&1) ]]; do sleep 0.001; done) | grep -F "Exception: " | grep -Fv "Table is in readonly mode" ||:
|
||||
$CLICKHOUSE_CLIENT -q "SELECT count(), min(x), max(x), sum(x) FROM r$i;"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user