Fix flaky test mutation_stuck_after_replace_partition

This commit is contained in:
Alexey Milovidov 2021-07-22 03:39:23 +03:00
parent 2796aa333f
commit ba06e8ccd0
2 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,8 @@
4 4
mt 0 0_1_1_0 2
rmt 0 0_0_0_0 2
1 1
2 2
1 s1
2 s2
mt 0 0_1_1_0 2
rmt 0 0_3_3_0 2
0000000000 UPDATE s = concat(\'s\', toString(n)) WHERE 1 [] 0 1

View File

@ -11,6 +11,7 @@ select * from rmt;
select * from mt;
select table, partition_id, name, rows from system.parts where database=currentDatabase() and table in ('mt', 'rmt') and active=1 order by table, name;
SET mutations_sync = 1;
alter table rmt update s = 's'||toString(n) where 1;
select * from rmt;