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

commit 6c78be85e44e5f9ced0f1304f254821961494088
Author: Lei Zhang <27994433+swjtu-zhang...@users.noreply.github.com>
AuthorDate: Sat Sep 16 14:52:27 2023 +0800

    [fix](bdbje) Remove improper check for journalId (#24464)
    
    * Introduced by  https://github.com/apache/doris/pull/24259
---
 fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java 
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
index 74805fb2c4..ea4410f60c 100755
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java
@@ -2547,14 +2547,6 @@ public class Env {
             LOG.warn("replay journal cost too much time: {} replayedJournalId: 
{}", cost, replayedJournalId);
         }
 
-        if (replayedJournalId.get() != newToJournalId) {
-            String msg = "replayedJournalId:" + replayedJournalId.get() + " 
not equal with newToJournalId:"
-                    + newToJournalId + " , will exit";
-            LOG.error(msg);
-            Util.stdoutWithTime(msg);
-            System.exit(-1);
-        }
-
         return hasLog;
     }
 


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

Reply via email to