This commit is contained in:
Alexander Tokmakov 2022-11-27 01:12:09 +01:00
parent f4944664b7
commit fc3a0bfdfa

View File

@ -4716,6 +4716,7 @@ std::set<String> MergeTreeData::getPartitionIdsAffectedByCommands(
std::unordered_set<String> MergeTreeData::getAllPartitionIds() const
{
auto lock = lockParts();
std::unordered_set<String> res;
String prev_id;
for (const auto & part : getDataPartsStateRange(DataPartState::Active))