This is an automated email from the ASF dual-hosted git repository.
w41ter pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new b776c2a983c branch-2.1: [fix](binlog) add modify comment binlog when
replaying journal #43827 (#43986)
b776c2a983c is described below
commit b776c2a983cdc3409791fe67e35e9e33143d2adb
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 18 15:06:25 2024 +0800
branch-2.1: [fix](binlog) add modify comment binlog when replaying journal
#43827 (#43986)
Cherry-picked from #43827
Co-authored-by: walter <[email protected]>
---
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 6cdaeeb5583..afb7fad4e23 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
@@ -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: {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]