[fix](bdbje) Remove improper check for journalId (#24464)

* Introduced by  https://github.com/apache/doris/pull/24259
This commit is contained in:
Lei Zhang
2023-09-16 14:52:27 +08:00
committed by GitHub
parent 8ce109bda7
commit 8012ac7661

View File

@ -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;
}