You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jim Kellerman (JIRA)" <ji...@apache.org> on 2008/09/10 21:05:44 UTC

[jira] Commented: (HBASE-881) If a server's lease times out or the server dies, All regions will get reassigned even split or offline ones.

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

Jim Kellerman commented on HBASE-881:
-------------------------------------

+1 on patch. Commit it.

> If a server's lease times out or the server dies, All regions will get reassigned even split or offline ones.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-881
>                 URL: https://issues.apache.org/jira/browse/HBASE-881
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0
>            Reporter: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.2.1, 0.18.0
>
>         Attachments: hbase-881.patch
>
>
> If a server's lease times out or a server dies (essentially the same thing), when the master tries to find the regions it was serving, it does not check to see if the region has been offlined or split.
> In ProcessServerShutdown.scanMetaRegion, the code:
> {code}
>         } else {
>           // Get region reassigned
>           regions.add(info);
>         }
> {code}
> should be:
> {code}
>         } else {
>           if (!info.isOffline() && !info.isSplit()) {
>             // Get region reassigned
>             regions.add(info);
>           }
>         }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.