mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #56023 from ClickHouse/fix_02438
Fix 02438_sync_replica_lightweight
This commit is contained in:
commit
463a728b09
@ -5,8 +5,9 @@ GET_PART all_1_1_0
|
||||
MERGE_PARTS all_0_1_1
|
||||
3 1 all_0_1_1
|
||||
3 2 all_0_1_1
|
||||
4 1 all_0_1_1
|
||||
4 2 all_0_1_1
|
||||
4 1
|
||||
4 2
|
||||
MERGE_PARTS all_0_1_1
|
||||
5 1 all_0_2_2
|
||||
5 2 all_0_2_2
|
||||
5 3 all_0_2_2
|
||||
|
@ -24,7 +24,8 @@ system start replicated sends rmt1;
|
||||
system sync replica rmt2 lightweight; -- waits for fetches, not merges
|
||||
select type, new_part_name from system.replication_queue where database=currentDatabase() and table='rmt2' order by new_part_name;
|
||||
select 3, n, _part from rmt1 order by n;
|
||||
select 4, n, _part from rmt2 order by n;
|
||||
select 4, n from rmt2 order by n;
|
||||
select type, new_part_name from system.replication_queue where database=currentDatabase() and table='rmt2' order by new_part_name;
|
||||
|
||||
system start merges rmt2;
|
||||
system sync replica rmt2;
|
||||
|
Loading…
Reference in New Issue
Block a user