mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
fix
This commit is contained in:
parent
35f1caddcb
commit
a2b2e8cb3f
@ -35,7 +35,7 @@ function wait_for_all_mutations()
|
||||
fi
|
||||
|
||||
if [[ $i -eq 200 ]]; then
|
||||
echo "Timed out while waiting for mutation to execute!" | tee /dev/stderr
|
||||
echo "Timed out while waiting for mutation to execute!" | tee >(cat >&2)
|
||||
fi
|
||||
|
||||
done
|
||||
|
@ -34,11 +34,11 @@ function check_replication_consistency()
|
||||
)"
|
||||
res=$?
|
||||
if ! [ $res -eq 0 ]; then
|
||||
echo "Replicas have diverged" | tee /dev/stderr
|
||||
$CLICKHOUSE_CLIENT -q "select _table, $2, arraySort(groupArrayDistinct(_part)) from merge(currentDatabase(), '$1') group by _table" | tee /dev/stderr
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.replication_queue where database=currentDatabase() and table like '$1%'" | tee /dev/stderr
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.mutations where database=currentDatabase() and table like '$1%'" | tee /dev/stderr
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.parts where database=currentDatabase() and table like '$1%'" | tee /dev/stderr
|
||||
echo "Replicas have diverged" | tee >(cat >&2)
|
||||
$CLICKHOUSE_CLIENT -q "select _table, $2, arraySort(groupArrayDistinct(_part)) from merge(currentDatabase(), '$1') group by _table" | tee >(cat >&2)
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.replication_queue where database=currentDatabase() and table like '$1%'" | tee >(cat >&2)
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.mutations where database=currentDatabase() and table like '$1%'" | tee >(cat >&2)
|
||||
$CLICKHOUSE_CLIENT -q "select * from system.parts where database=currentDatabase() and table like '$1%'" | tee >(cat >&2)
|
||||
fi
|
||||
|
||||
}
|
||||
|
@ -321,6 +321,7 @@
|
||||
"01076_parallel_alter_replicated_zookeeper",
|
||||
"01079_parallel_alter_add_drop_column_zookeeper",
|
||||
"01079_parallel_alter_detach_table_zookeeper",
|
||||
"01079_parallel_alter_modify_zookeeper_long",
|
||||
"01080_check_for_error_incorrect_size_of_nested_column",
|
||||
"01083_expressions_in_engine_arguments",
|
||||
"01084_regexp_empty",
|
||||
|
Loading…
Reference in New Issue
Block a user