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

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 8012ac7661 [fix](bdbje) Remove improper check for journalId (#24464)
8012ac7661 is described below

commit 8012ac7661ac07318dfa98dfd8b602376b44516c
Author: Lei Zhang <[email protected]>
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 b186c61847..d648776980 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
@@ -2653,14 +2653,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to