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

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

What I mean is that in the end, 2 and 3 report timeouts, but 1 is not there.
{noformat}
2013-12-16 17:06:26,766 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x0 (n.zxid), 0x1 (n.round), FOLLOWING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,787 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,806 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,806 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,807 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,812 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,817 [myid:] - INFO  
[WorkerReceiver[myid=1]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,819 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,819 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 2 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 2 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:32,820 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@597] - Notification: 1 (message 
format version), 3 (n.leader), 0x100000859 (n.zxid), 0x2 (n.round), LOOKING 
(n.state), 1 (n.sid), 0x1 (n.peerEpoch) LOOKING (my state)
2013-12-16 17:06:33,020 [myid:] - INFO  
[QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:11223:FastLeaderElection@849] - 
Notification time out: 400
2013-12-16 17:06:33,021 [myid:] - INFO  
[QuorumPeer[myid=3]/0:0:0:0:0:0:0:0:11225:FastLeaderElection@849] - 
Notification time out: 400
2013-12-16 17:06:33,421 [myid:] - INFO  
[QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:11223:FastLeaderElection@849] - 
Notification time out: 800
2013-12-16 17:06:33,422 [myid:] - INFO  
[QuorumPeer[myid=3]/0:0:0:0:0:0:0:0:11225:FastLeaderElection@849] - 
Notification time out: 800
2013-12-16 17:06:34,222 [myid:] - INFO  
[QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:11223:FastLeaderElection@849] - 
Notification time out: 1600
2013-12-16 17:06:34,223 [myid:] - INFO  
[QuorumPeer[myid=3]/0:0:0:0:0:0:0:0:11225:FastLeaderElection@849] - 
Notification time out: 1600
{noformat}

> 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