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 c66b42fd9d
commit 579586c697
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
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
final AssignmentManager am = env.getMasterServices().getAssignmentManager();
for (RegionInfo hri: am.getRegionStates().getServerRegionInfoSet(serverName)) {
if (!isDefaultMetaRegion(hri)) continue;
am.offlineRegion(hri);
if (!isDefaultMetaRegion(hri)) {
continue;
}
addChildProcedure(new RecoverMetaProcedure(serverName, this.shouldSplitWal));
}
}