HBASE-881 Fixed bug when Master tries to reassign split or offline regions from a dead server

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@693935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2008-09-10 19:20:17 +00:00
parent 7c0a0af77c
commit 16a2c45780
2 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,8 @@ Release 0.18.0 - Unreleased
HBASE-822 Update thrift README and HBase.thrift to use thrift 20080411
BUG FIXES
HBASE-881 Fixed bug when Master tries to reassign split or offline regions
from a dead server
HBASE-860 Fixed Bug in IndexTableReduce where it concerns writing lucene
index fields.
HBASE-805 Remove unnecessary getRow overloads in HRS (Jonathan Gray via

View File

@ -147,8 +147,10 @@ class ProcessServerShutdown extends RegionServerOperation {
// Mark region offline
todo.regionOffline = true;
} else {
// Get region reassigned
regions.add(info);
if (!info.isOffline() && !info.isSplit()) {
// Get region reassigned
regions.add(info);
}
}
// If it was pending, remove.
master.regionManager.noLongerPending(info.getRegionName());