mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix flaky 01307_multiple_leaders
This commit is contained in:
parent
482a5e362b
commit
c7fc1bd4dd
@ -20,7 +20,8 @@ function thread()
|
||||
REPLICA=$1
|
||||
ITERATIONS=$2
|
||||
|
||||
$CLICKHOUSE_CLIENT --max_block_size 1 --min_insert_block_size_rows 0 --min_insert_block_size_bytes 0 --query "INSERT INTO r$REPLICA SELECT number * $NUM_REPLICAS + $REPLICA FROM numbers($ITERATIONS)"
|
||||
# It's legal to fetch something before insert finished
|
||||
$CLICKHOUSE_CLIENT --max_block_size 1 --min_insert_block_size_rows 0 --min_insert_block_size_bytes 0 --query "INSERT INTO r$REPLICA SELECT number * $NUM_REPLICAS + $REPLICA FROM numbers($ITERATIONS)" 2>&1 | grep -v -F "Tried to commit obsolete part"
|
||||
}
|
||||
|
||||
for REPLICA in $SEQ; do
|
||||
|
Loading…
Reference in New Issue
Block a user