mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Update StorageReplicatedMergeTree.cpp
This commit is contained in:
parent
2d359a5e79
commit
e9489ccd6f
@ -3339,7 +3339,7 @@ void StorageReplicatedMergeTree::removePartAndEnqueueFetch(const String & part_n
|
||||
/// It's quite dangerous, so clone covered parts to detached.
|
||||
auto broken_part_info = MergeTreePartInfo::fromPartName(part_name, format_version);
|
||||
|
||||
auto partition_range = getDataPartsPartitionRange(broken_part_info.partition_id);
|
||||
auto partition_range = getDataPartsVectorInPartition(MergeTreeDataPartState::Committed, broken_part_info.partition_id);
|
||||
for (const auto & part : partition_range)
|
||||
{
|
||||
if (!broken_part_info.contains(part->info))
|
||||
|
Loading…
Reference in New Issue
Block a user