[
https://issues.apache.org/jira/browse/HBASE-8797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jimmy Xiang updated HBASE-8797:
-------------------------------
Fix Version/s: 0.95.2
0.98.0
Status: Patch Available (was: Open)
Attached patch v2. It set the region to MERGING state properly during master
failover. It also removed RegionState#isSplit since we never set a region
state to SPLIT currently. Added region state MERGED. Renamed
RS_ZK_REGION_MERGE to RS_ZK_REGION_MERGED.
As to Stack's questions, if RS crashes, merging regions are indeed assigned by
SSH if meta is not updated yet; otherwise, the new region is assigned and the
two merging regions are skipped.
> Prevent merging regions from moving during online merge
> -------------------------------------------------------
>
> Key: HBASE-8797
> URL: https://issues.apache.org/jira/browse/HBASE-8797
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 0.98.0, 0.95.2
>
> Attachments: trunk-8797.patch, trunk-8797_v2.patch
>
>
> When two regions are merged online, they are closed but master doesn't know
> they should stay closed during the merge. If master moves them by mistake,
> for example, load balancer kicks in, the merge could be messed up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira