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

Germán Blanco commented on ZOOKEEPER-1732:
------------------------------------------

I will update the patches as you propose. It also seems better to me to update 
this information when the ensemble is finally established.
With "the current epoch" I assume that you mean the new epoch for the ensemble 
and that this will have to be updated in the followers and in the leader (so no 
newEpoch-1, but newEpoch). If I misunderstood, please let me know.
I don't know how to choose a zxid that is agreed between the leader and all the 
followers. I will leave that for now, but if you know how to do it, please let 
me know.
I am assuming that you mean the modification in Learner.java for the 
indentation comment. The indentation was already wrong in that part of the 
code. If I am not wrong, there are 8 spaces and a tab in the lines above and 
below the modification. I believe I have put 8 spaces and a tab also in the 
modified lines. In the editors that I use it looks ok. If you want me to try to 
fix the indentation around the change, it is ok with me. If you mean another 
change or you don't see 8 spaces and a tab there or I should use a different 
combination for these lines, please let me know.

> ZooKeeper server unable to join established ensemble
> ----------------------------------------------------
>
>                 Key: ZOOKEEPER-1732
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1732
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: leaderElection
>    Affects Versions: 3.4.5
>         Environment: Windows 7, Java 1.7
>            Reporter: Germán Blanco
>            Assignee: Germán Blanco
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: CREATE_INCONSISTENCIES_patch.txt, zklog.tar.gz, 
> ZOOKEEPER-1732-3.4.patch, ZOOKEEPER-1732-3.4.patch, ZOOKEEPER-1732.patch, 
> ZOOKEEPER-1732.patch
>
>
> I have a test in which I do a rolling restart of three ZooKeeper servers and 
> it was failing from time to time.
> I ran the tests in a loop until the failure came out and it seems that at 
> some point one of the servers is unable to join the enssemble formed by the 
> other two.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to