You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/13 10:23:39 UTC
[jira] [Commented] (BOOKKEEPER-855) handle session expire event in
bookie
[ https://issues.apache.org/jira/browse/BOOKKEEPER-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095866#comment-15095866 ]
ASF GitHub Bot commented on BOOKKEEPER-855:
-------------------------------------------
Github user sijie commented on a diff in the pull request:
https://github.com/apache/bookkeeper/pull/1#discussion_r49566517
--- 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 --
@merlimat yup, that's a good catch. will fix it.
> handle session expire event in bookie
> -------------------------------------
>
> Key: BOOKKEEPER-855
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-855
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-client, bookkeeper-server
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.4.0
>
> Attachments: BOOKKEEPER-855.patch
>
>
> handling zookeeper session expire event in bookie server & bookie watcher.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)