HBASE-26013 Get operations readRows metrics becomes zero after HBASE-25677 (#3410)

Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
YutSean 2021-06-22 16:14:55 +08:00 committed by GitHub
parent 7e57fecda8
commit fd2f8a581f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7601,7 +7601,9 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
if (this.metricsRegion != null) {
this.metricsRegion.updateGet(EnvironmentEdgeManager.currentTime() - before);
}
if (this.rsServices != null && this.rsServices.getMetrics() != null) {
rsServices.getMetrics().updateReadQueryMeter(getRegionInfo().getTable(), 1);
}
}
@Override