This is an automated email from the ASF dual-hosted git repository.

w41ter pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 52fd800bf89 [fix](binlog) add modify comment binlog when replaying 
journal #43827 (#44108)
52fd800bf89 is described below

commit 52fd800bf89399e674c2a3975a142aaa7c669f5e
Author: walter <maoch...@selectdb.com>
AuthorDate: Mon Nov 18 15:58:02 2024 +0800

    [fix](binlog) add modify comment binlog when replaying journal #43827 
(#44108)
    
    cherry pick from #43827
---
 fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java 
b/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
index 7fdac2ebfaa..bad7011e872 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
@@ -810,6 +810,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_ALTER_ROUTINE_LOAD_JOB: {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to