You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/09/23 15:49:00 UTC

[jira] [Commented] (HBASE-25088) CatalogFamilyFormat/MetaTableAccessor.parseRegionInfoFromRegionName incorrectly setEndKey to regionId

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

Duo Zhang commented on HBASE-25088:
-----------------------------------

This method is used at some critical places... But since it has been like this for a long time and no one finds it, maybe it does not effect correctness...

But anyway, let's fix it so it will not confuse developers and also avoid the potential bugs in the future.

> CatalogFamilyFormat/MetaTableAccessor.parseRegionInfoFromRegionName incorrectly setEndKey to regionId
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-25088
>                 URL: https://issues.apache.org/jira/browse/HBASE-25088
>             Project: HBase
>          Issue Type: Bug
>          Components: meta
>            Reporter: Duo Zhang
>            Priority: Critical
>
> The return value of RegionInfo.parseRegionName does not contain endKey, but we call setEndKey with fields[2], which is incorrect. It is the region id actually.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)