-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BookieImpl remove wait until journal quits #3603
BookieImpl remove wait until journal quits #3603
Conversation
We have BookieMultipleJournalsTest#testJournalExit, this test shows that any journal thread exit will cause bookie to exit. So we no longer need BookieImpl to shutdown the bookie service after waiting for all journal threads to exit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
LGTM
ping @hangc0276 @dlg99 @zymap PTAL, Thanks. |
ping @zymap @hangc0276 @Shoothzj @dlg99 If you have time, can you help take a look. Thanks. |
### Motivation PR apache#2887 introduced the feature of shutdown the bookie service after any Journal thread exits, so we don't need to wait in BookieImpl for all Journal threads to exit before shutdown the Bookie service, because this cannot happen.
Motivation
PR #2887 introduced the feature of shutdown the bookie service after any Journal thread exits, so we don't need to wait in BookieImpl for all Journal threads to exit before shutdown the Bookie service, because this cannot happen.