Update ReplicatedMergeTreeQueue.cpp

This commit is contained in:
Alexander Tokmakov 2024-06-12 18:00:19 +02:00 committed by GitHub
parent 9d26f8bbd1
commit bf04aebc94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2004,8 +2004,7 @@ MutationCommands ReplicatedMergeTreeQueue::getMutationCommands(
MutationCommands commands;
for (auto it = begin; it != end; ++it)
{
/// FIXME uncomment this assertion after relesing 23.5 (currently it fails in Upgrade check)
/// chassert(mutation_pointer < it->second->entry->znode_name);
chassert(mutation_pointer < it->second->entry->znode_name);
mutation_ids.push_back(it->second->entry->znode_name);
const auto & commands_from_entry = it->second->entry->commands;
commands.insert(commands.end(), commands_from_entry.begin(), commands_from_entry.end());