Rushabh Shah created HBASE-25622:
------------------------------------

             Summary: Result#compareResults should compare tags.
                 Key: HBASE-25622
                 URL: https://issues.apache.org/jira/browse/HBASE-25622
             Project: HBase
          Issue Type: Improvement
          Components: Client
    Affects Versions: 1.7.0
            Reporter: Rushabh Shah
            Assignee: Rushabh Shah


Today +Result#compareResults+ compares the 2 cells based on following 
parameters.
{noformat}
    for (int i = 0; i < res1.size(); i++) {
      if (!ourKVs[i].equals(replicatedKVs[i]) ||
          !CellUtil.matchingValue(ourKVs[i], replicatedKVs[i])) {
        throw new Exception("This result was different: "
            + res1.toString() + " compared to " + res2.toString());
      }
{noformat}

row, family, qualifier, timestamp, type, value.

We also need to compare tags to determine if both cells are equal or not.
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to