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


##########
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:
   skipping a journal entry is a dangerous operation, please log it to stdout 
too.



-- 
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