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:
parent
7e57fecda8
commit
fd2f8a581f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user