HBASE-25840 CatalogJanitor warns about skipping gc of regions during RIT, but does not actually skip (#3223)
We claim in a WARN level log line to be "Playing-it-safe skipping merge/ split gc'ing of regions from hbase:meta while regions-in-transition (RIT)" but do not actually skip because of a missing return. Remove the warning. Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
762abe3bea
commit
e44592a37d
|
@ -168,10 +168,6 @@ public class CatalogJanitor extends ScheduledChore {
|
||||||
}
|
}
|
||||||
updateAssignmentManagerMetrics();
|
updateAssignmentManagerMetrics();
|
||||||
|
|
||||||
if (isRIT(this.services.getAssignmentManager())) {
|
|
||||||
LOG.warn("Playing-it-safe skipping merge/split gc'ing of regions from hbase:meta while " +
|
|
||||||
"regions-in-transition (RIT)");
|
|
||||||
}
|
|
||||||
Map<RegionInfo, Result> mergedRegions = this.lastReport.mergedRegions;
|
Map<RegionInfo, Result> mergedRegions = this.lastReport.mergedRegions;
|
||||||
for (Map.Entry<RegionInfo, Result> e : mergedRegions.entrySet()) {
|
for (Map.Entry<RegionInfo, Result> e : mergedRegions.entrySet()) {
|
||||||
if (this.services.isInMaintenanceMode()) {
|
if (this.services.isInMaintenanceMode()) {
|
||||||
|
|
Loading…
Reference in New Issue