You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chunhui shen (Commented) (JIRA)" <ji...@apache.org> on 2012/01/09 06:45:39 UTC
[jira] [Commented] (HBASE-5152) Region is on service before
completing initialized when doing rollback of split, it will affect
readcorrectness
[ 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