Update ReplicatedMergeTreeQueue.cpp

This commit is contained in:
tavplubix 2020-10-30 18:47:58 +03:00 committed by GitHub
parent cf8202d36e
commit ce6c44eb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1144,7 +1144,7 @@ bool ReplicatedMergeTreeQueue::shouldExecuteLogEntry(
int head_alter = alter_sequence.getHeadAlterVersion(state_lock);
const char * format_str = "Cannot execute alter metadata {} with version {} because another alter {} must be executed before";
LOG_TRACE(log, format_str, entry.znode_name, entry.alter_version, head_alter);
out_postpone_reason = fmt::format(format_str, entry.znode_name, entry.alter_version);
out_postpone_reason = fmt::format(format_str, entry.znode_name, entry.alter_version, head_alter);
return false;
}
}