HBASE-19827 Addendum for Flakey TestAssignmentManager

Don't clear old location from RTP...
This commit is contained in:
Michael Stack 2018-01-19 10:59:47 -08:00
parent 9ba961a5ef
commit fa66c7e28e
1 changed files with 3 additions and 3 deletions

View File

@ -195,9 +195,9 @@ implements ServerProcedureInterface {
// Assign meta if still carrying it. Check again: region may be assigned because of RIT timeout // Assign meta if still carrying it. Check again: region may be assigned because of RIT timeout
final AssignmentManager am = env.getMasterServices().getAssignmentManager(); final AssignmentManager am = env.getMasterServices().getAssignmentManager();
for (RegionInfo hri: am.getRegionStates().getServerRegionInfoSet(serverName)) { for (RegionInfo hri: am.getRegionStates().getServerRegionInfoSet(serverName)) {
if (!isDefaultMetaRegion(hri)) continue; if (!isDefaultMetaRegion(hri)) {
continue;
am.offlineRegion(hri); }
addChildProcedure(new RecoverMetaProcedure(serverName, this.shouldSplitWal)); addChildProcedure(new RecoverMetaProcedure(serverName, this.shouldSplitWal));
} }
} }