[
https://issues.apache.org/jira/browse/ZOOKEEPER-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907749#comment-14907749
]
Hudson commented on ZOOKEEPER-2279:
-----------------------------------
FAILURE: Integrated in ZooKeeper-trunk #2799 (See
[https://builds.apache.org/job/ZooKeeper-trunk/2799/])
ZOOKEEPER-2279: QuorumPeer loadDataBase() error message is incorrect(Arshad
Mohammad via rakeshr) (rakeshr:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1705221)
* /zookeeper/trunk/CHANGES.txt
*
/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java
> QuorumPeer loadDataBase() error message is incorrect
> -----------------------------------------------------
>
> Key: ZOOKEEPER-2279
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2279
> Project: ZooKeeper
> Issue Type: Bug
> Components: quorum
> Affects Versions: 3.5.0, 3.5.1
> Reporter: sunhaitao
> Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2279-01.patch
>
>
> in loadDataBase() method, the below info is incorrect.
> if (acceptedEpoch < currentEpoch) {
> throw new IOException("The current epoch, " +
> ZxidUtils.zxidToString(currentEpoch) + " is less than the accepted epoch, " +
> ZxidUtils.zxidToString(acceptedEpoch));
> }
> It should print:
> Change the message to ("The accepted epoch, " +
> ZxidUtils.zxidToString(acceptedEpoch) + " is less than the current epoch, " +
> ZxidUtils.zxidToString(currentEpoch)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)