You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by re...@apache.org on 2021/06/24 07:51:14 UTC
[hbase] branch branch-2.4 updated: HBASE-26013 Get operations
readRows metrics becomes zero after HBASE-25677 (#3411)
This is an automated email from the ASF dual-hosted git repository.
reidchan pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 3a6441c HBASE-26013 Get operations readRows metrics becomes zero after HBASE-25677 (#3411)
3a6441c is described below
commit 3a6441c946b6debd84458ba8d0d6d814c512cb5d
Author: YutSean <33...@users.noreply.github.com>
AuthorDate: Thu Jun 24 15:24:50 2021 +0800
HBASE-26013 Get operations readRows metrics becomes zero after HBASE-25677 (#3411)
Signed-off-by: Reid Chan <re...@apache.org>
---
.../src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index 994d771..a189a07 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -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