[ 
https://issues.apache.org/jira/browse/HBASE-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230816#comment-13230816
 ] 

chunhui shen commented on HBASE-5563:
-------------------------------------

@Jonathan 
bq.have newer regions (larger timestamps) sorted before older HRegionInfos? If 
so why? My intuition says to to have newer regions sorted after older ones.

I just in order to make AssignmentManager#getRegionsOfTable() returns correct 
without changing it.
                
> HRegionInfo#compareTo add the comparison of regionId
> ----------------------------------------------------
>
>                 Key: HBASE-5563
>                 URL: https://issues.apache.org/jira/browse/HBASE-5563
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.5, 0.92.0, 0.94.0, 0.96.0
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>         Attachments: HBASE-5563.patch, HBASE-5563v2.patch, 
> HBASE-5563v2.patch, hbase-5563-v3-0.92.patch, hbase-5563-v3.patch
>
>
> In the one region multi assigned case,  we could find that two regions have 
> the same table name, same startKey, same endKey, and different regionId, so 
> these two regions are same in TreeMap but different in HashMap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to