// doing after log splitting. Could do some states before -- OPENING?
// OFFLINE? -- and then others after like CLOSING that depend on log
// splitting.
Set<HRegionInfo> regionsFromRegionPlansForServer = new HashSet<HRegionInfo>();
List<RegionState> regionsInTransition = new ArrayList<RegionState>();
RegionsOnDeadServer regionsOnDeadServer = this.services
.getAssignmentManager().processServerShutdown(this.hsi);
regionsFromRegionPlansForServer = regionsOnDeadServer
.getRegionsFromRegionPlansForServer();
regionsInTransition = regionsOnDeadServer.getRegionsInTransition();
// Assign root and meta if we were carrying them.
if (isCarryingRoot()) { // -ROOT-
LOG.info("Server " + serverName + " was carrying ROOT. Trying to assign.");
verifyAndAssignRootWithRetries();