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

ReplicationSource#countDistinctRowKeys code logic is not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: