You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/12/17 22:59:46 UTC

[jira] [Resolved] (HBASE-14491) ReplicationSource#countDistinctRowKeys code logic is not correct

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

Sean Busbey resolved HBASE-14491.
---------------------------------
       Resolution: Duplicate
         Assignee:     (was: Enis Soztutar)
    Fix Version/s:     (was: 0.98.16)
                       (was: 1.1.3)
                       (was: 1.0.3)
                       (was: 1.3.0)
                       (was: 1.2.0)
                       (was: 2.0.0)

since this was effectively subsumed by HBASE-14501, marking it dup and removing fix versions.

> ReplicationSource#countDistinctRowKeys code logic is not correct
> ----------------------------------------------------------------
>
>                 Key: HBASE-14491
>                 URL: https://issues.apache.org/jira/browse/HBASE-14491
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ashish Singhi
>            Priority: Minor
>
> {code}
>       Cell lastCell = cells.get(0);
>       for (int i = 0; i < edit.size(); i++) {
>         if (!CellUtil.matchingRow(cells.get(i), lastCell)) {
>           distinctRowKeys++;
>         }
>       }
> {code}
> The above logic for finding the distinct row keys in the list needs to be corrected.



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