Vanlightly commented on issue #2879:
URL: https://github.com/apache/bookkeeper/issues/2879#issuecomment-961885253
The Journal is a BookieCriticalThread so if we simply rethrow the exception
it will terminate the bookie. This is not exactly a graceful shutdown though. A
better alternative is to replace
```
// wait until journal quits
for (Journal journal: journals) {
journal.joinThread();
}
```
in the BookieImpl run() method with a check to see if any journal thread has
exited, this will then lead to a controlled shutdown.
--
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]