[
https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890513#action_12890513
]
Travis Crawford commented on ZOOKEEPER-790:
-------------------------------------------
Just to double-check, I'm really really sure the running jar was freshly built.
For example, lsof says:
java 4473 root mem REG 104,1 1012397 10092999
/usr/local/zookeeper/zookeeper-3.3.2-dev.jar
Yes, the version number is 3.3.2, but this was built from the 3.3.1 release.
Looking in the log we see:
2010-07-20 23:52:15,893 - INFO
[QuorumPeer:/0:0:0:0:0:0:0:0:2181:environm...@97] - Server
environment:zookeeper.version=3.3.1-942149, built on 05/07/2010 17:14 GMT
Should that say built this afternoon? I've double & tripled checked and believe
this is a newly built jar. Looking in the tarball we don't see
zookeeper-3.3.2-dev.jar until after building.
> Last processed zxid set prematurely while establishing leadership
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-790
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-790
> Project: Zookeeper
> Issue Type: Bug
> Components: quorum
> Affects Versions: 3.3.1
> Reporter: Flavio Paiva Junqueira
> Assignee: Flavio Paiva Junqueira
> Priority: Blocker
> Fix For: 3.3.2, 3.4.0
>
> Attachments: ZOOKEEPER-790-3.3.patch, ZOOKEEPER-790.patch,
> ZOOKEEPER-790.patch, ZOOKEEPER-790.patch, ZOOKEEPER-790.travis.log.bz2
>
>
> The leader code is setting the last processed zxid to the first of the new
> epoch even before connecting to a quorum of followers. Because the leader
> code sets this value before connecting to a quorum of followers
> (Leader.java:281) and the follower code throws an IOException
> (Follower.java:73) if the leader epoch is smaller, we have that when the
> false leader drops leadership and becomes a follower, it finds a smaller
> epoch and kills itself.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.