huaxiang sun created HBASE-18363:
------------------------------------

             Summary: Hbck option to undeploy in memory replica parent region 
                 Key: HBASE-18363
                 URL: https://issues.apache.org/jira/browse/HBASE-18363
             Project: HBase
          Issue Type: Bug
          Components: hbck
    Affects Versions: 2.0.0-alpha-1, 1.4.0
            Reporter: huaxiang sun
            Assignee: huaxiang sun
            Priority: Minor


We run into cases that with read replica, after split, sometimes, the parent 
replica region is left in  master's in memory onlineRegion list. This results 
in the region got assigned to a region server. Though the root cause will be 
fixed by HBASE-18025. We need to enhance hbck tool to fix this in-memory state. 
Currently, hbck only allows the fix for primary region (in this case, the 
primary region is gone) with fixAssignment option, please see the following 
line of code. We will enhance it so it can be applied to replica region as well.

https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java#L2216



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to