You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/06 01:51:57 UTC
[jira] [Assigned] (ZOOKEEPER-1387) Wrong epoch file created
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-1387:
---------------------------------------
Assignee: Benjamin Reed
> Wrong epoch file created
> ------------------------
>
> Key: ZOOKEEPER-1387
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1387
> Project: ZooKeeper
> Issue Type: Bug
> Components: quorum
> Affects Versions: 3.4.2
> Reporter: Benjamin Busjaeger
> Assignee: Benjamin Reed
> Priority: Minor
> Attachments: ZOOKEEPER-1387.patch
>
>
> It looks like line 443 in QuorumPeer [1] may need to change from:
> writeLongToFile(CURRENT_EPOCH_FILENAME, acceptedEpoch);
> to
> writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch);
> I only noticed this reading the code, so I may be wrong and I don't know yet if/how this affects the runtime.
> [1] https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L443
--
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