hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Created: (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 18:47:44 GMT
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


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