HBASE-3493 HMaster sometimes hangs during initialization due to missing notify call

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1065745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-01-31 20:23:57 +00:00
parent d09a8b5cec
commit c8529f0cab
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,8 @@ Release 0.91.0 - Unreleased
(Prakash Khemani via Lars George) (Prakash Khemani via Lars George)
HBASE-3481 max seq id in flushed file can be larger than its correct value HBASE-3481 max seq id in flushed file can be larger than its correct value
causing data loss during recovery causing data loss during recovery
HBASE-3493 HMaster sometimes hangs during initialization due to missing
notify call (Bruno Dumon via Stack)
IMPROVEMENTS IMPROVEMENTS

View File

@ -588,6 +588,7 @@ public class AssignmentManager extends ZooKeeperListener {
" on " + hsi); " on " + hsi);
this.regions.put(regionInfo, serverInfo); this.regions.put(regionInfo, serverInfo);
addToServers(serverInfo, regionInfo); addToServers(serverInfo, regionInfo);
this.regions.notifyAll();
} }
// Remove plan if one. // Remove plan if one.
clearRegionPlan(regionInfo); clearRegionPlan(regionInfo);