Revert "Add an assertion in ReplicatedMergeTreeQueue"

This commit is contained in:
Raúl Marín 2024-06-25 20:38:05 +02:00 committed by GitHub
parent bd4f8524bf
commit 848601fc33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2004,7 +2004,8 @@ MutationCommands ReplicatedMergeTreeQueue::getMutationCommands(
MutationCommands commands;
for (auto it = begin; it != end; ++it)
{
chassert(mutation_pointer < it->second->entry->znode_name);
/// FIXME uncomment this assertion after relesing 23.5 (currently it fails in Upgrade check)
/// 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());