hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5563) HRegionInfo#compareTo add the comparison of regionId
Date Fri, 16 Mar 2012 13:57:39 GMT

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

Jonathan Hsieh commented on HBASE-5563:
---------------------------------------

@Chunhui

I get it -- we just didn't see the robot run the v2 to show that it fixed the problem.

Are you ok with the newer patch (and test?) that fixes getRegionsOfTable?  I think it is more
intuitive since older HRI's with smaller datestamp/regionIds are smaller than newer HRI's
with larger datestamp/regionIds.  

It's helpful to add comments and tests to show what you intend -- hopefully the updated patch
I provided makes it clear.
                
> 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

        

Mime
View raw message