hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (HBASE-5165) Concurrent processing of DeleteTableHandler and ServerShutdownHandler may cause deleted region to assign again
Date Tue, 10 Jan 2012 15:04:40 GMT

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

ramkrishna.s.vasudevan edited comment on HBASE-5165 at 1/10/12 3:04 PM:
------------------------------------------------------------------------

@Chunhui
I just now saw your issue.  It is same as HBASE-5155.  Can you see my comment in HBASE-5155.
 I propose to use the TableState.ENABLED.  Currently i am working on a patch for it.  Will
upload it by tomorrow. 
                
      was (Author: ram_krish):
    @Chunhui
I just now saw your issue.  It is same as HBASE-5155.  Can you see my comment in HBSE-5155.
 I propose to use the TableState.ENABLED.  Currently i am working on a patch for it.  Will
upload it by tomorrow. 
                  
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message