branch-2.1: [fix](binlog) add modify comment binlog when replaying journal #43827 (#43986)

Cherry-picked from #43827

Co-authored-by: walter <maochuan@selectdb.com>
This commit is contained in:
github-actions[bot]
2024-11-18 15:06:25 +08:00
committed by GitHub
parent fa43cc0a90
commit b776c2a983

View File

@ -865,6 +865,7 @@ public class EditLog {
case OperationType.OP_MODIFY_COMMENT: {
ModifyCommentOperationLog operation = (ModifyCommentOperationLog) journal.getData();
env.getAlterInstance().replayModifyComment(operation);
env.getBinlogManager().addModifyComment(operation, logId);
break;
}
case OperationType.OP_SET_PARTITION_VERSION: {