mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
tests: attempt to fix 02340_parts_refcnt_mergetree flakiness
I'm not sure that this was the case, but I don't see any other reasons for now. I've also looked at the logs and trace_log, and did not noticed anything interesting. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
3d76de3fec
commit
85998672f0
@ -9,7 +9,11 @@ function check_refcnt_for_table()
|
||||
{
|
||||
local table=$1 && shift
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "system stop merges $table"
|
||||
$CLICKHOUSE_CLIENT -nm -q "
|
||||
system stop merges $table;
|
||||
-- cleanup thread may hold the parts lock
|
||||
system stop cleanup $table;
|
||||
"
|
||||
$CLICKHOUSE_CLIENT --insert_keeper_fault_injection_probability=0 -q "insert into $table select number, number%4 from numbers(200)"
|
||||
|
||||
local query_id
|
||||
|
Loading…
Reference in New Issue
Block a user