mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Check fuzzer tests
This commit is contained in:
parent
0950c16fb2
commit
436df8fe3a
@ -24,6 +24,7 @@ function alter_thread
|
||||
function kill_mutation_thread
|
||||
{
|
||||
while true; do
|
||||
# find any mutation and kill it
|
||||
mutation_id=$($CLICKHOUSE_CLIENT --query "SELECT mutation_id FROM system.mutations WHERE is_done=0 and database='${CLICKHOUSE_DATABASE}' and table='concurrent_mutate_kill' LIMIT 1")
|
||||
if [ ! -z "$mutation_id" ]; then
|
||||
$CLICKHOUSE_CLIENT --query "KILL MUTATION WHERE mutation_id='$mutation_id'" 1> /dev/null
|
||||
|
@ -36,6 +36,7 @@ function alter_thread
|
||||
function kill_mutation_thread
|
||||
{
|
||||
while true; do
|
||||
# find any mutation and kill it
|
||||
mutation_id=$($CLICKHOUSE_CLIENT --query "SELECT mutation_id FROM system.mutations WHERE is_done = 0 and table like 'concurrent_kill_%' and database='${CLICKHOUSE_DATABASE}' LIMIT 1")
|
||||
if [ ! -z "$mutation_id" ]; then
|
||||
$CLICKHOUSE_CLIENT --query "KILL MUTATION WHERE mutation_id='$mutation_id'" 1> /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user