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
Priority: Minor
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