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

Arshad Mohammad commented on ZOOKEEPER-2279:
--------------------------------------------

{quote}
-1 tests included. The patch doesn't appear to include any new or modified 
tests.
{quote}
no test case because this patch does not change any functionality, only message 
change.
{quote}
-1 core tests. The patch failed core unit tests.
{quote}
test case failure is not related to this patch

> QuorumPeer  loadDataBase() error message is inocrrect
> -----------------------------------------------------
>
>                 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
>         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)

Reply via email to