[
https://issues.apache.org/jira/browse/BOOKKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528409#comment-13528409
]
Flavio Junqueira commented on BOOKKEEPER-496:
---------------------------------------------
Hey Ivan, Great thing to do to remove the execution of elections from the
zookeeper thread. I was wondering about the motivation to have a run method
executing in an infinite loop. For abstraction purposes, wouldn't it be better
to have a thread pool executor to decouple the zookeeper event notification
from the execution of elections?
> Ensure that the auditor and replication worker will shutdown if they lose
> their ZK session
> ------------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-496
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-496
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-auto-recovery
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.2.0
>
> Attachments:
> 0001-BOOKKEEPER-496-Ensure-that-the-auditor-and-replicati.patch,
> 0001-BOOKKEEPER-496-Ensure-that-the-auditor-and-replicati.patch,
> BOOKKEEPER-496.patch
>
>
> Once the session is lost, the zookeeper client is invalid. Therefore, we
> should shut down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira