[ 
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)

Reply via email to