This commit is contained in:
Alexander Tokmakov 2023-05-16 18:48:12 +02:00
parent 242a3fc520
commit 26488185a0
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
/test/02439/default/block_numbers/123
/test/02439/s1/default/block_numbers/123

View File

@ -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'