Skip to content

Commit

Permalink
Merge pull request #61955 from ClickHouse/tavplubix-patch-10
Browse files Browse the repository at this point in the history
Update 02916_move_partition_inactive_replica.sql
  • Loading branch information
tavplubix committed Mar 27, 2024
2 parents 4d37e37 + 3bc9147 commit 374d347
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -8,8 +8,8 @@ drop table if exists shard_1.from_1;
drop table if exists shard_0.to;
drop table if exists shard_1.to;

create table shard_0.from_1 (x UInt32) engine = ReplicatedMergeTree('/clickhouse/tables/from_1_' || currentDatabase(), '0') order by x settings old_parts_lifetime=1, max_cleanup_delay_period=1, cleanup_delay_period=1;
create table shard_1.from_1 (x UInt32) engine = ReplicatedMergeTree('/clickhouse/tables/from_1_' || currentDatabase(), '1') order by x settings old_parts_lifetime=1, max_cleanup_delay_period=1, cleanup_delay_period=1;
create table shard_0.from_1 (x UInt32) engine = ReplicatedMergeTree('/clickhouse/tables/from_1_' || currentDatabase(), '0') order by x settings old_parts_lifetime=1, max_cleanup_delay_period=1, cleanup_delay_period=1, shared_merge_tree_disable_merges_and_mutations_assignment=1;
create table shard_1.from_1 (x UInt32) engine = ReplicatedMergeTree('/clickhouse/tables/from_1_' || currentDatabase(), '1') order by x settings old_parts_lifetime=1, max_cleanup_delay_period=1, cleanup_delay_period=1, shared_merge_tree_disable_merges_and_mutations_assignment=1;

system stop merges shard_0.from_1;
system stop merges shard_1.from_1;
Expand Down

0 comments on commit 374d347

Please sign in to comment.