[
https://issues.apache.org/jira/browse/HBASE-24500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-24500.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.2+.
Thanks [~stack] and [~zghao] for reviewing.
> 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: Blocker
> 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)