mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
fix
This commit is contained in:
parent
7862990721
commit
aba4a00a17
@ -104,6 +104,8 @@ bool ReplicatedMergeTreeQueue::isGoingToBeDropped(const MergeTreePartInfo & part
|
||||
bool ReplicatedMergeTreeQueue::isGoingToBeDroppedImpl(const MergeTreePartInfo & part_info, MergeTreePartInfo * out_drop_range_info) const
|
||||
{
|
||||
String covering_virtual = virtual_parts.getContainingPart(part_info);
|
||||
if (!covering_virtual.empty())
|
||||
{
|
||||
auto covering_virtual_info = MergeTreePartInfo::fromPartName(covering_virtual, format_version);
|
||||
if (covering_virtual_info.isFakeDropRangePart())
|
||||
{
|
||||
@ -111,6 +113,7 @@ bool ReplicatedMergeTreeQueue::isGoingToBeDroppedImpl(const MergeTreePartInfo &
|
||||
*out_drop_range_info = covering_virtual_info;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return drop_parts.hasDropPart(part_info, out_drop_range_info);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user