zxealous commented on code in PR #35783:
URL: https://github.com/apache/doris/pull/35783#discussion_r1623830923


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -2866,7 +2866,18 @@ public synchronized boolean replayJournal(long 
toJournalId) {
             Long logId = kv.first;
             JournalEntity entity = kv.second;
             if (entity == null) {
-                break;
+                if (logId != null && logId == Config.force_skip_journal_id) {
+                    replayedJournalId.incrementAndGet();
+                    LOG.info("journal {} has skipped", replayedJournalId);

Review Comment:
   done



##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -2866,7 +2866,18 @@ public synchronized boolean replayJournal(long 
toJournalId) {
             Long logId = kv.first;
             JournalEntity entity = kv.second;
             if (entity == null) {
-                break;
+                if (logId != null && logId == Config.force_skip_journal_id) {
+                    replayedJournalId.incrementAndGet();
+                    LOG.info("journal {} has skipped", replayedJournalId);

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to