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

Virag Kothari commented on HBASE-10955:
---------------------------------------

Both changes in patch lgtm.
Initially thought that meta should be cleared before master memory. But that 
wont work as the offline() API on master first checks whether the entry is 
present in meta or not. So patch seems to do the right thing

> HBCK leaves the region in masters in-memory RegionStates if region hdfs dir 
> is lost
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-10955
>                 URL: https://issues.apache.org/jira/browse/HBASE-10955
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.99.0
>
>         Attachments: hbase-10955.v1.patch
>
>
> One of our tests removes the hdfs directory for the region, and invokes HBCK 
> to fix the issue. This test fails flakily because the region is removed from 
> meta and unassigned, but the region is not offlined from the masters 
> in-memory. This affects further LB runs and disable table, etc. 
> In case of {{inMeta && !inHdfs && isDeployed}}, we should not just close the 
> region from RS, but call master.unassign(). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to