hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4287) If region opening fails, try to transition region back to "offline" in ZK
Date Tue, 30 Aug 2011 05:44:37 GMT

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

ramkrishna.s.vasudevan commented on HBASE-4287:

The updation of the state on failure of open region should also be done here
      if (!transitionToOpened(region)) {
Because here also there a chance for failure due to some zk exception.

> If region opening fails, try to transition region back to "offline" in ZK
> -------------------------------------------------------------------------
>                 Key: HBASE-4287
>                 URL: https://issues.apache.org/jira/browse/HBASE-4287
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>    Affects Versions: 0.90.4
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.94.0
>         Attachments: 0004-HBASE-4287.-FAILED_OPEN-state-in-ZK-v2.patch, 0004-HBASE-4287.-FAILED_OPEN-state-in-ZK.patch
> In the case that region-opening fails, we currently just close the region again, but
don't do anything to the node in ZK. Instead, we should attempt to transition it from the
OPENING state back to an OFFLINE state, or perhaps a new FAILED_OPEN state. Otherwise, we
have to wait for the full timeoutMonitor period to elapse, which can be quite a long time.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message