You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/11 02:17:15 UTC

[jira] [Updated] (HBASE-5165) Concurrent processing of DeleteTableHandler and ServerShutdownHandler may cause deleted region to assign again

     [ https://issues.apache.org/jira/browse/HBASE-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-5165:
----------------------------------
    Resolution: Not A Problem
        Status: Resolved  (was: Patch Available)

> Concurrent processing of DeleteTableHandler and ServerShutdownHandler may cause deleted region to assign again
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5165
>                 URL: https://issues.apache.org/jira/browse/HBASE-5165
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.4
>            Reporter: chunhui shen
>         Attachments: hbase-5165.patch, hbase-5165v2.patch
>
>
> Concurrent processing of DeleteTableHandler and ServerShutdownHandler may cause following situation
> 1.Table has already be disabled.
> 2.ServerShutdownHandler is doing MetaReader.getServerUserRegions.
> 3.When step2 is processing or is completed just now, DeleteTableHandler starts to delete region(Remove region from META and Delete region from FS)
> 4.DeleteTableHandler set table enabled.
> 4.ServerShutdownHandler is starting to assign region which is alread deleted by DeleteTableHandler.
> The result of above operations is producing an invalid record in .META.  and can't be fixed by hbck 



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