Skip to content

Commit

Permalink
Revert "do not merge this commit"
Browse files Browse the repository at this point in the history
This reverts commit 6a51d9f.
  • Loading branch information
vdimir committed Sep 12, 2023
1 parent 72d5a5d commit 4e5a4b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Storages/StorageReplicatedMergeTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7656,7 +7656,8 @@ void StorageReplicatedMergeTree::replacePartitionFrom(
entry_replace.columns_version = -1;
}

if (replace) {
if (replace)
{
/// Cancel concurrent inserts in range
clearLockedBlockNumbersInPartition(*zookeeper, drop_range.partition_id, drop_range.max_block, drop_range.max_block);
/// Remove deduplication block_ids of replacing parts
Expand Down

0 comments on commit 4e5a4b5

Please sign in to comment.