zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-117) threading issues in Leader election
Date Wed, 10 Sep 2008 19:29:44 GMT

     [ 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.

View raw message