You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Rushabh Shah (Jira)" <ji...@apache.org> on 2021/03/01 19:34:00 UTC

[jira] [Created] (HBASE-25622) Result#compareResults should compare tags.

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)