You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2015/09/25 10:54:04 UTC

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

Ashish Singhi created HBASE-14491:
-------------------------------------

             Summary: 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
            Assignee: 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)