liuxiaocs7 commented on code in PR #7866:
URL: https://github.com/apache/hbase/pull/7866#discussion_r2895653998


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java:
##########
@@ -209,16 +209,11 @@ public void updateScan(HRegion region, long time, long 
responseCellSize, long bl
     userAggregate.updateScan(time, blockBytesScanned);
   }
 
-  public void updateSplitTime(long t) {
-    serverSource.updateSplitTime(t);
-  }
-
-  public void incrSplitRequest() {
+  public void incrSplitRequest(String table) {
     serverSource.incrSplitRequest();
-  }
-
-  public void incrSplitSuccess() {
-    serverSource.incrSplitSuccess();
+    if (table != null) {
+      metricsTable.incrSplitRequest(table);
+    }
   }

Review Comment:
   addition



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to