mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-26 19:50:51 +00:00
Merge branch 'better_remove_empty_parts' into fix_drop_part_in_queue
This commit is contained in:
commit
72b84141e1
@ -373,7 +373,9 @@ public:
|
|||||||
/// Checks that part is already in virtual parts
|
/// Checks that part is already in virtual parts
|
||||||
bool isVirtualPart(const MergeTreeData::DataPartPtr & data_part) const;
|
bool isVirtualPart(const MergeTreeData::DataPartPtr & data_part) const;
|
||||||
|
|
||||||
/// Check that part produced by some entry in queue and get source parts for it
|
/// Check that part produced by some entry in queue and get source parts for it.
|
||||||
|
/// If there are several entries return largest source_parts set. This rarely possible
|
||||||
|
/// for example after replica clone.
|
||||||
bool checkPartInQueueAndGetSourceParts(const String & part_name, Strings & source_parts) const;
|
bool checkPartInQueueAndGetSourceParts(const String & part_name, Strings & source_parts) const;
|
||||||
|
|
||||||
/// Check that part isn't in currently generating parts and isn't covered by them and add it to future_parts.
|
/// Check that part isn't in currently generating parts and isn't covered by them and add it to future_parts.
|
||||||
|
Loading…
Reference in New Issue
Block a user