[
https://issues.apache.org/jira/browse/ZOOKEEPER-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143390#comment-13143390
]
Flavio Junqueira commented on ZOOKEEPER-1270:
---------------------------------------------
Here is my progress so far. Mahadev is right, it sounds like we are not setting
the zkServer of ServerCnxFactory, which we do both in Learner and Leader by
calling self.cnxnFactory.setZooKeeperServer(zk). We should also be seeing a
message like:
{noformat}
Have quorum of supporters; starting up and setting last processed zxid:
{noformat}
in the log file Pat posted, but we aren't, which implies that the leader
establishment procedure is not completing. Is this a timing issue? I'm
skeptical about it being a time issue because we wait 10 seconds for the
waitForAll call to complete, but I'm not sure if this completely unrealistic or
not assuming that the jenkins machine is overloaded.
Is there anything I'm missing here? I'll keep investigating...
> 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,
> testEarlyLeaderAbandonment2.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