curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Germán Blanco (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CURATOR-47) Two leaders in the leader election recipe
Date Fri, 12 Jul 2013 12:11:48 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706892#comment-13706892
] 

Germán Blanco commented on CURATOR-47:
--------------------------------------

The following trace is seen when running TestLeaderElection.java:
ERROR [LeaderSelector-0:TestLeaderElection@154] - I am 0 have leadership is true and the leader
is 1

It seems that it is actually not required to modify the tickTime in order to see this.
                
> 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

Mime
View raw message