mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix test
This commit is contained in:
parent
242a3fc520
commit
26488185a0
@ -1 +1 @@
|
||||
/test/02439/default/block_numbers/123
|
||||
/test/02439/s1/default/block_numbers/123
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
create table rmt (n int, m int) engine=ReplicatedMergeTree('/test/02439/{database}', '1') partition by n order by n;
|
||||
create table rmt (n int, m int) engine=ReplicatedMergeTree('/test/02439/{shard}/{database}', '{replica}') partition by n order by n;
|
||||
insert into rmt select number, number from numbers(50);
|
||||
insert into rmt values (1, 2);
|
||||
insert into rmt values (1, 3);
|
||||
@ -20,5 +20,5 @@ select sleepEachRow(3) as higher_probability_of_reproducing_the_issue format Nul
|
||||
system flush logs;
|
||||
|
||||
-- it should not list unneeded partitions where we cannot merge anything
|
||||
select distinct path from system.zookeeper_log where path like '/test/02439/' || currentDatabase() || '/block_numbers/%'
|
||||
select distinct path from system.zookeeper_log where path like '/test/02439/s1/' || currentDatabase() || '/block_numbers/%'
|
||||
and op_num in ('List', 'SimpleList', 'FilteredList') and path not like '%/block_numbers/1'
|
||||
|
Loading…
Reference in New Issue
Block a user