Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14491

ReplicationSource#countDistinctRowKeys code logic is not correct

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

            Cell lastCell = cells.get(0);
            for (int i = 0; i < edit.size(); i++) {
              if (!CellUtil.matchingRow(cells.get(i), lastCell)) {
                distinctRowKeys++;
              }
            }
      

      The above logic for finding the distinct row keys in the list needs to be corrected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ashish singhi Ashish Singhi
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: