[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-1270:
------------------------------------

    Fix Version/s:     (was: 3.4.1)
                   3.4.0

Looks like this is still hanging around, see time 2011-11-02 22:11:27,124

https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper_branch34/49/testReport/junit/org.apache.zookeeper.server.quorum/QuorumPeerMainTest/testEarlyLeaderAbandonment/

{noformat}

2011-11-02 22:11:27,113 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41413:LearnerHandler@264] - Follower sid: 1 : info : 
org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer@166340c
2011-11-02 22:11:27,113 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41414:LearnerHandler@264] - Follower sid: 0 : info : 
org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer@101ac93
2011-11-02 22:11:27,123 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41413:LearnerHandler@319] - Synchronizing with 
Follower sid: 1 maxCommittedLog =100000003 minCommittedLog = 100000001 
peerLastZxid = 100000003
2011-11-02 22:11:27,123 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41414:LearnerHandler@319] - Synchronizing with 
Follower sid: 0 maxCommittedLog =100000003 minCommittedLog = 100000001 
peerLastZxid = 100000003
2011-11-02 22:11:27,123 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41413:LearnerHandler@407] - Sending snapshot last 
zxid of peer is 0x100000003  zxid of leader is 0x0sent zxid of db as 0x100000003
2011-11-02 22:11:27,124 [myid:2] - INFO  
[LearnerHandler-/127.0.0.1:41414:LearnerHandler@407] - Sending snapshot last 
zxid of peer is 0x100000003  zxid of leader is 0x0sent zxid of db as 0x100000003
2011-11-02 22:11:27,123 [myid:1] - INFO  
[QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:11230:Learner@323] - Getting a snapshot 
from leader
2011-11-02 22:11:27,124 [myid:0] - INFO  
[QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:11227:Learner@323] - Getting a snapshot 
from leader
2011-11-02 22:11:27,125 [myid:1] - INFO  
[QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:11230:FileTxnSnapLog@255] - Snapshotting: 
100000003
2011-11-02 22:11:27,125 [myid:0] - INFO  
[QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:11227:FileTxnSnapLog@255] - Snapshotting: 
100000003
2011-11-02 22:11:27,373 [myid:] - INFO  
[main-SendThread(localhost:11233):ClientCnxn$SendThread@933] - Opening socket 
connection to server localhost/127.0.0.1:11233
2011-11-02 22:11:27,373 [myid:] - INFO  
[main-SendThread(localhost:11233):ClientCnxn$SendThread@846] - Socket 
connection established to localhost/127.0.0.1:11233, initiating session
2011-11-02 22:11:27,373 [myid:2] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11233:NIOServerCnxnFactory@213] - 
Accepted socket connection from /127.0.0.1:37239
2011-11-02 22:11:27,374 [myid:2] - WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11233:NIOServerCnxn@354] - Exception 
causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not 
running
2011-11-02 22:11:27,374 [myid:2] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11233:NIOServerCnxn@1000] - Closed socket 
connection for client /127.0.0.1:37239 (no session established for client)
2011-11-02 22:11:27,374 [myid:] - INFO  
[main-SendThread(localhost:11233):ClientCnxn$SendThread@1059] - Unable to read 
additional data from server sessionid 0x233665616f20000, likely server has 
closed socket, closing socket connection and attempting reconnect
2011-11-02 22:11:27,714 [myid:] - INFO  
[main-SendThread(localhost:11230):ClientCnxn$SendThread@933] - Opening socket 
connection to server localhost/127.0.0.1:11230
2011-11-02 22:11:27,714 [myid:] - INFO  
[main-SendThread(localhost:11230):ClientCnxn$SendThread@846] - Socket 
connection established to localhost/127.0.0.1:11230, initiating session
2011-11-02 22:11:27,714 [myid:1] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11230:NIOServerCnxnFactory@213] - 
Accepted socket connection from /127.0.0.1:33215
2011-11-02 22:11:27,715 [myid:1] - WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11230:NIOServerCnxn@354] - Exception 
causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not 
running
2011-11-02 22:11:27,715 [myid:1] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11230:NIOServerCnxn@1000] - Closed socket 
connection for client /127.0.0.1:33215 (no session established for client)
2011-11-02 22:11:27,715 [myid:] - INFO  
[main-SendThread(localhost:11230):ClientCnxn$SendThread@1059] - Unable to read 
additional data from server sessionid 0x133665616f50000, likely server has 
closed socket, closing socket connection and attempting reconnect
2011-11-02 22:11:27,843 [myid:] - INFO  
[main-SendThread(localhost:11227):ClientCnxn$SendThread@933] - Opening socket 
connection to server localhost/127.0.0.1:11227
2011-11-02 22:11:27,843 [myid:] - INFO  
[main-SendThread(localhost:11227):ClientCnxn$SendThread@846] - Socket 
connection established to localhost/127.0.0.1:11227, initiating session
{noformat}

                
> testEarlyLeaderAbandonment failing intermittently, quorum formed, no serving.
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1270
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1270
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Patrick Hunt
>            Priority: Blocker
>             Fix For: 3.4.0, 3.5.0
>
>         Attachments: testEarlyLeaderAbandonment.txt.gz
>
>
> Looks pretty serious - quorum is formed but no clients can attach. Will 
> attach logs momentarily.
> This test was introduced in the following commit (all three jira commit at 
> once):
> ZOOKEEPER-335. zookeeper servers should commit the new leader txn to their 
> logs.
> ZOOKEEPER-1081. modify leader/follower code to correctly deal with new leader
> ZOOKEEPER-1082. modify leader election to correctly take into account current

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to