HBASE-6438 Addendum checks regionAlreadyInTransitionException when generating region plan (Chunhui)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-09-18 13:53:05 +00:00
parent fbfbad4e4d
commit 7c0db34275
1 changed files with 1 additions and 1 deletions

View File

@ -1569,7 +1569,7 @@ public class AssignmentManager extends ZooKeeperListener {
LOG.debug("Server stopped; skipping assign of " + state); LOG.debug("Server stopped; skipping assign of " + state);
return; return;
} }
RegionPlan plan = getRegionPlan(state, forceNewPlan); RegionPlan plan = getRegionPlan(state, !regionAlreadyInTransitionException && forceNewPlan);
if (plan == null) { if (plan == null) {
LOG.debug("Unable to determine a plan to assign " + state); LOG.debug("Unable to determine a plan to assign " + state);
this.timeoutMonitor.setAllRegionServersOffline(true); this.timeoutMonitor.setAllRegionServersOffline(true);