hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-881) If a server's lease times out or the server dies, All regions will get reassigned even split or offline ones.
Date Wed, 10 Sep 2008 19:03:44 GMT

     [ https://issues.apache.org/jira/browse/HBASE-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Daniel Cryans updated HBASE-881:
-------------------------------------

    Attachment: hbase-881.patch

Fixes what Jim said.

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


Mime
View raw message