You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Terence Yim (JIRA)" <ji...@apache.org> on 2015/05/22 08:01:17 UTC

[jira] [Created] (TWILL-129) Race condition in leader election if leader quitted before follower set the watch

Terence Yim created TWILL-129:
---------------------------------

             Summary: Race condition in leader election if leader quitted before follower set the watch
                 Key: TWILL-129
                 URL: https://issues.apache.org/jira/browse/TWILL-129
             Project: Apache Twill
          Issue Type: Bug
          Components: zookeeper
    Affects Versions: 0.4.1-incubating, 0.5.0-incubating, 0.4.0-incubating
            Reporter: Terence Yim
            Assignee: Terence Yim
            Priority: Blocker


In the LeaderElection implementation, if the leader quit and delete its node before the next-in-line follower try to set the watch through the exists() call, the follower will fail silently without noticing the leader node is gone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)