hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5152) Region is on service before completing initialized when doing rollback of split, it will affect readcorrectness
Date Mon, 09 Jan 2012 05:45:39 GMT

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

chunhui shen commented on HBASE-5152:
-------------------------------------

When doing rollback of split, it will first add region to onlineRegions,and then do this.parent.initialize();

Let's see the code of this.parent.initialize()
{code}
...
 // A region can be reopened if failed a split; reset flags
    this.closing.set(false);
    this.closed.set(false);
...
Store store = instantiateHStore(this.tableDir, c);
...
{code}

So, after this.closing.set(false);this.closed.set(false);
this region is on service, but it is not initialized where store is not initialized,
Therefore, in this period, we can't read data from this region
                
> Region is on service before completing initialized when doing rollback of split, it will
affect readcorrectness 
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5152
>                 URL: https://issues.apache.org/jira/browse/HBASE-5152
>             Project: HBase
>          Issue Type: Bug
>            Reporter: chunhui shen
>


--
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