[
https://issues.apache.org/jira/browse/HBASE-13119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340239#comment-14340239
]
Jonathan Hsieh commented on HBASE-13119:
----------------------------------------
+1. the ordering needs to be the same because it also is the order that
"backup" locations are tried in. If they are a different order they'd have
different behavior and shouldn't be equal.
> FileLink should implement equals
> --------------------------------
>
> Key: HBASE-13119
> URL: https://issues.apache.org/jira/browse/HBASE-13119
> Project: HBase
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 2.0.0, 1.1.0
>
> Attachments: hbase-13119_v1.patch
>
>
> StoreFileInfo used to implement Comparable, but got changed in HBASE-12749.
> Now comparing StoreFileInfo's with links results in false, since
> FileLink/HFileLink does not implement equals().
> We should do both equals and hashCode() it seems.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)