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 Mon, 15 Jul 2013 11:30:48 GMT

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

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

Hello!
Thanks a lot for using some of your time to take a look at this!
The attached patch is on curator 2.0.1 as checked-out using: "git checkout apache-curator-2.0.1"
from the git repository cloned from apache.org.
The change is on file QuorumConfigBuilder.java.
The rest of curator libraries were also compiled from that version, but I have tried version
2.1.0 from Maven Central and also came up with the error.
Maybe OS and JDK have something to do with it. I am using Windows 7 and Oracle JDK 1.7.0.

Regards,

Germán.

                
> 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: patch_test_rolling.patch, 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