Github user merlimat commented on a diff in the pull request:
https://github.com/apache/bookkeeper/pull/1#discussion_r46415317
--- Diff:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Bookie.java ---
@@ -142,7 +145,11 @@
final protected String zkBookieRegPath;
final protected String zkBookieReadOnlyPath;
+ final private AtomicBoolean zkRegistered = new AtomicBoolean(false);
final protected AtomicBoolean readOnly = new AtomicBoolean(false);
+ // executor to manage the state changes for a bookie.
+ final ExecutorService stateService = Executors.newSingleThreadExecutor(
--- End diff --
`stateService` needs to be shut down at bookie stop
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---