You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2018/01/29 12:50:00 UTC
[jira] [Created] (HBASE-19884) BucketEntryGroup's equals, hashCode
and compareTo methods are not consistent
Peter Somogyi created HBASE-19884:
-------------------------------------
Summary: BucketEntryGroup's equals, hashCode and compareTo methods are not consistent
Key: HBASE-19884
URL: https://issues.apache.org/jira/browse/HBASE-19884
Project: HBase
Issue Type: Bug
Reporter: Peter Somogyi
BucketEntryGroup currently uses different fields to calculate compareTo, equals and hasCode.
In some cases !a.equals(b) but a.compareTo(b) == 0. Javadoc of Comparator recommends that natural orderings be consistent with equals.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)