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

Duo Zhang commented on HBASE-24500:
-----------------------------------

oh, wait a minute, we do not have encoded name for RegionInfo proto on 
branch-2.2.

Let me check when we introduced this field in proto.

> The behavior of RegionInfoBuilder.newBuilder(RegionInfo) is strange
> -------------------------------------------------------------------
>
>                 Key: HBASE-24500
>                 URL: https://issues.apache.org/jira/browse/HBASE-24500
>             Project: HBase
>          Issue Type: Task
>          Components: Client, read replicas
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Critical
>             Fix For: 3.0.0-alpha-1, 2.3.0, 2.2.6
>
>
> In this method, we will copy all the fields, including RegionName and 
> EncodedRegionName of the RegionInfo, so after we changed some other fields 
> like start key or stop key or replica id, and then create a new RegionInfo, 
> the RegionName of the RegionInfo will not be regenerated and cause problem.



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

Reply via email to