You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2008/09/10 21:25:44 UTC
[jira] Resolved: (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:all-tabpanel ]
Jean-Daniel Cryans resolved HBASE-881.
--------------------------------------
Resolution: Fixed
Assignee: Jean-Daniel Cryans
Committed to branch and trunk. Thanks Jim for the "inspiration".
> 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
> Assignee: Jean-Daniel Cryans
> 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.