[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-117:
-----------------------------------

    Attachment: ZOOKEEPER-117.patch

Updated the patch a bit to log in both the expected and unexpected cases.

Note: there is a very small timing issue during shutdown where acceptor may 
return and result in a handler being added to the followers set, but this will 
eventually timeout on it's own.

> threading issues in Leader election
> -----------------------------------
>
>                 Key: ZOOKEEPER-117
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-117
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Patrick Hunt
>            Assignee: Flavio Paiva Junqueira
>         Attachments: ZOOKEEPER-117.patch, ZOOKEEPER-117.patch
>
>
> Leader.lead() creates a new thread that can never terminate (short of 
> restarting vm)
> naked notifyall in lead() method - what is the condition variable? Best if 
> set inside the sync block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to