leizhiyuan commented on code in PR #3437:
URL: https://github.com/apache/bookkeeper/pull/3437#discussion_r937414404


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieImpl.java:
##########
@@ -618,7 +618,7 @@ private void replay(Journal journal, JournalScanner 
scanner) throws IOException
                 logPosition = markedLog.getLogFileOffset();
             }
             LOG.info("Replaying journal {} from position {}", id, logPosition);
-            long scanOffset = journal.scanJournal(id, logPosition, scanner);
+            long scanOffset = journal.scanJournal(id, logPosition, scanner, 
this.conf.isSkipReplayJournalInvalidRecord());

Review Comment:
   what we meet is 
   
   a bk shutdown because of VM crash,then VM recovered , but we can not restart 
bk , because of the exception。we can not skip this, we only can do format data 
for this VM.. and re install bk
   
   
   so if we want to recovery the bk in the scene, we can open the switch only 
on the machine,it will startup,  and next time, we will close this switch 



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

Reply via email to