You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Allan Yang (JIRA)" <ji...@apache.org> on 2016/10/17 06:23:58 UTC

[jira] [Updated] (HBASE-16856) Exception message in SyncRunner.run() should print currentSequence but syncFutureSequence

     [ https://issues.apache.org/jira/browse/HBASE-16856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allan Yang updated HBASE-16856:
-------------------------------
    Attachment: HBASE-16856.patch

> Exception message in SyncRunner.run() should print currentSequence but syncFutureSequence
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-16856
>                 URL: https://issues.apache.org/jira/browse/HBASE-16856
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>    Affects Versions: 2.0.0, 1.2.2, 1.1.7
>            Reporter: Allan Yang
>            Assignee: Allan Yang
>            Priority: Minor
>         Attachments: HBASE-16856.patch
>
>
> A very small bug, a typo in exception message:
> {code}
> if (syncFutureSequence > currentSequence) {
>               throw new IllegalStateException("currentSequence=" + syncFutureSequence
>                   + ", syncFutureSequence=" + syncFutureSequence);
>             }
> {code}
> It should print currentSequence and syncFutureSequence, but print two syncFutureSequence



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)