HBASE-19827 Addendum for Flakey TestAssignmentManager
Don't clear old location from RTP...
This commit is contained in:
parent
9ba961a5ef
commit
fa66c7e28e
|
@ -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