hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-14491) ReplicationSource#countDistinctRowKeys code logic is not correct
Date Wed, 14 Oct 2015 02:27:05 GMT

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

Ashish Singhi resolved HBASE-14491.
-----------------------------------
    Resolution: Fixed
      Assignee:     (was: Ashish Singhi)

Fixed by Enis as part of HBASE-14501.

> 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)

Mime
View raw message