Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
-
Reviewed
Description
Today Result#compareResults compares the 2 cells based on following parameters.
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()); }
row, family, qualifier, timestamp, type, value.
We also need to compare tags to determine if both cells are equal or not.