[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13530899#comment-13530899
 ] 

Hudson commented on ZOOKEEPER-1387:
-----------------------------------

Integrated in ZooKeeper-trunk #1771 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/1771/])
    ZOOKEEPER-1387. Wrong epoch file created (Benjamin Busjaeger via breed, 
phunt) (Revision 1421098)

     Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1421098
Files : 
* /zookeeper/trunk/CHANGES.txt
* 
/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java

                
> 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
>             Fix For: 3.5.0, 3.4.6
>
>         Attachments: ZOOKEEPER-1387_br34.patch, 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to