This is an automated email from the ASF dual-hosted git repository.
kxiao 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 0cb60b0e630 [compatibility](metadata) Make metadata compatible for
future version after 2.0.2 (#24800)
0cb60b0e630 is described below
commit 0cb60b0e6304729872df8d9e60cf539c5b8c895b
Author: morrySnow <[email protected]>
AuthorDate: Fri Sep 22 21:20:14 2023 +0800
[compatibility](metadata) Make metadata compatible for future version after
2.0.2 (#24800)
---
fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java | 4 ++++
fe/fe-core/src/main/java/org/apache/doris/persist/OperationType.java | 3 +++
2 files changed, 7 insertions(+)
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 17bd1f9fe42..afc73c2b75d 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
@@ -1067,6 +1067,10 @@ public class EditLog {
case OperationType.OP_PERSIST_AUTO_JOB: {
break;
}
+ // For backward compatible with 2.0.3
+ case OperationType.OP_DELETE_TABLE_STATS: {
+ break;
+ }
default: {
IOException e = new IOException();
LOG.error("UNKNOWN Operation Type {}", opCode, e);
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/persist/OperationType.java
b/fe/fe-core/src/main/java/org/apache/doris/persist/OperationType.java
index 87e04f86f0a..14f540f78e7 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/OperationType.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/OperationType.java
@@ -320,6 +320,9 @@ public class OperationType {
// For backward compatible with 2.0.3
public static final short OP_PERSIST_AUTO_JOB = 456;
+ // For backward compatible with 2.0.3
+ public static final short OP_DELETE_TABLE_STATS = 457;
+
/**
* Get opcode name by op code.
**/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]