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

huaxiang sun commented on HBASE-20997:
--------------------------------------

Add steps about how to reproduce this issue manually.

1. Spawn a cluster with two masters.
2. Create a table with region replica >= 2.
3. failover the active master.
4. Split the table from shell.
5. Check the RS hosting replica parent region. The replica parent region is not 
offlined at the RS.





> rebuildUserRegions() does not build ReplicaMapping during master switchover
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-20997
>                 URL: https://issues.apache.org/jira/browse/HBASE-20997
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.2.6, 1.3.2, 1.5.0, 1.4.6
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Major
>         Attachments: HBASE-20997-branch-1-v1.patch
>
>
> During master switchover, rebuildUserRegions() does not rebuild master 
> in-memory defaultReplicaToOtherReplicas map. This puts the cluster in an 
> inconsistent state. In read replica case, it causes replica parent region 
> stay online without being unassigned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to