Ivan Andika created HDDS-10161:
----------------------------------

             Summary: Standardize hashCode and equals for volume, bucket, and 
key
                 Key: HDDS-10161
                 URL: https://issues.apache.org/jira/browse/HDDS-10161
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Ivan Andika
            Assignee: Ivan Andika


It's found that OmBucketInfo and OmKeyInfo {{equals}} and {{hashCode}} do not 
contain the same attributes.

Also OmVolumeArgs only compares volume based on the ObjectID, which might not 
be enough to ensure equality.

We need to standardize the usage of hashcode and equals so that there are no 
unexpected behaviors regarding different objects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to