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:
parent
fbfbad4e4d
commit
7c0db34275
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue