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

Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
YutSean 2021-06-24 15:24:50 +08:00 committed by Reid Chan
parent b453cbd819
commit 3a6441c946
1 changed files with 3 additions and 0 deletions

View File

@ -8253,6 +8253,9 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
if (this.metricsRegion != null) {
this.metricsRegion.updateGet(EnvironmentEdgeManager.currentTime() - before);
}
if (rsServices != null) {
rsServices.getMetrics().updateReadQueryMeter(getTableDescriptor().getTableName(), 1);
}
}
@Override