HBASE-3309 " Not running balancer because dead regionserver processing" is a lie

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1042076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2010-12-04 00:50:16 +00:00
parent b7a9bdf0b4
commit 95f2f2eab4
2 changed files with 3 additions and 1 deletions

View File

@ -743,6 +743,7 @@ Release 0.90.0 - Unreleased
HBASE-3296 Newly created table ends up disabled instead of assigned
HBASE-3304 Get spurious master fails during bootup
HBASE-3298 Regionserver can close during a split causing double assignment
HBASE-3309 " Not running balancer because dead regionserver processing" is a lie
IMPROVEMENTS

View File

@ -667,8 +667,9 @@ implements HMasterInterface, HMasterRegionInterface, MasterServices, Server {
abbreviate(this.assignmentManager.getRegionsInTransition().toString(), 256));
return false;
}
if (!this.serverManager.areDeadServersInProgress()) {
if (this.serverManager.areDeadServersInProgress()) {
LOG.debug("Not running balancer because dead regionserver processing");
return false;
}
Map<HServerInfo, List<HRegionInfo>> assignments =
this.assignmentManager.getAssignments();