You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2017/11/16 00:48:02 UTC

[jira] [Created] (HBASE-19276) RegionPlan should correctly implement equals and hashCode

Andrew Purtell created HBASE-19276:
--------------------------------------

             Summary: RegionPlan should correctly implement equals and hashCode
                 Key: HBASE-19276
                 URL: https://issues.apache.org/jira/browse/HBASE-19276
             Project: HBase
          Issue Type: Bug
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 1.4.0, 2.0.0-beta-1


error-prone identified dodgy code in AssignmentManager where we are relying on reference (object) equality to do the right thing, and are getting lucky, because if we properly used equals() the result is wrong, because RegionPlan does not correctly implement equals and hashCode according to the JDK contracts for same. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)