HBASE-19827 Addendum for Flakey TestAssignmentManager Don't clear old location from RTP...
This commit is contained in:
parent
c66b42fd9d
commit
579586c697
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue