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


##########
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:
   ```suggestion
                       LOG.info("journal {} has skipped by config 
force_skip_journal_id", replayedJournalId);
   ```



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to