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

morningman pushed a commit to branch release-2.0.2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/release-2.0.2.1 by this push:
     new 612dd1b0fa5 [branc-2.0][compatibility](stats) Read table stats in 
JournalEntity (#26070)
612dd1b0fa5 is described below

commit 612dd1b0fa5da5d94c3ee8382084d85b3228f22a
Author: AKIRA <33112463+kikyou1...@users.noreply.github.com>
AuthorDate: Mon Oct 30 16:33:50 2023 +0800

    [branc-2.0][compatibility](stats) Read table stats in JournalEntity (#26070)
---
 .../src/main/java/org/apache/doris/journal/JournalEntity.java       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/journal/JournalEntity.java 
b/fe/fe-core/src/main/java/org/apache/doris/journal/JournalEntity.java
index affeea2de14..5061b3c282c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/journal/JournalEntity.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/journal/JournalEntity.java
@@ -844,6 +844,12 @@ public class JournalEntity implements Writable {
                 isRead = true;
                 break;
             }
+            case OperationType.OP_UPDATE_TABLE_STATS:
+            case OperationType.OP_PERSIST_AUTO_JOB:
+            case OperationType.OP_DELETE_TABLE_STATS: {
+                isRead = true;
+                break;
+            }
             default: {
                 IOException e = new IOException();
                 LOG.error("UNKNOWN Operation Type {}", opCode, e);


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

Reply via email to