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

Flavio Junqueira commented on ZOOKEEPER-1841:
---------------------------------------------

The test still fails for me, and I don't think that creating the two ensembles 
is a problem, although not doing it is probably a good thing to do. The problem 
seems to be that leader election is not completing. Towards the end of the 
test, I see this:

{noformat}
2013-12-16 15:15:01,607 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,607 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,607 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,607 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,607 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,608 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,608 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,608 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 15:15:01,608 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000ff0 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
{noformat}

Server 2 receives two votes for 3, but it apparently doesn't change its vote.

> problem in QuorumTest
> ---------------------
>
>                 Key: ZOOKEEPER-1841
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1841
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 3.4.5, 3.5.0
>         Environment: Windows, Java 1.7
>            Reporter: Germán Blanco
>            Assignee: Germán Blanco
>             Fix For: 3.4.6, 3.5.0
>
>         Attachments: ZOOKEEPER-1841-branch3.4.patch
>
>
> QuorumTest.testNoLogBeforeLeaderEstablishment fails with Assertion: "NOt 
> following"



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to