You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Germán Blanco (JIRA)" <ji...@apache.org> on 2013/07/12 14:09:48 UTC

[jira] [Updated] (CURATOR-47) Two leaders in the leader election recipe

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

Germán Blanco updated CURATOR-47:
---------------------------------

    Attachment: TestLeaderElection.java

This program shows the problem.
The tickTime of the server has been set to 1500 milliseconds (modifying the code).
                
> Two leaders in the leader election recipe
> -----------------------------------------
>
>                 Key: CURATOR-47
>                 URL: https://issues.apache.org/jira/browse/CURATOR-47
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.1.0-incubating
>         Environment: Windows and Java 1.7
>            Reporter: Germán Blanco
>             Fix For: TBD
>
>         Attachments: TestLeaderElection.java
>
>
> When using the Leader Election recipe and doing a rolling restart of the zookeeper servers in the cluster, it seems that at some points there are two participants that see themselves as leaders.

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