rdhabalia opened a new pull request, #3623:
URL: https://github.com/apache/bookkeeper/pull/3623

   ### Motivation
   
   Right now, if bookie fails to replay the journal then it logs journal-txn-id 
but it doesn't log journal dir path. It will be useful if bookie prints journal 
path along with journal-dir in case if user is using multi-journal directories 
so, user can troubleshoot the issue and fix it correctly.
   
   ```
   2022-11-07T18:29:07,205+0000 [main] ERROR 
org.apache.bookkeeper.bookie.Bookie - Exception while replaying journals, 
shutting down
   java.io.IOException: Recovery log 1667603421612 is missing
           at org.apache.bookkeeper.bookie.Bookie.replay(Bookie.java:932) 
~[org.apache.bookkeeper-bookkeeper-server-4.12.jar:4.12]
           at org.apache.bookkeeper.bookie.Bookie.readJournal(Bookie.java:911) 
~[org.apache.bookkeeper-bookkeeper-server-4.12.jar]
   ```
   
   ### Changes
   
   Add journal dir file path in journal replay failure.
   
   
   


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