anoopsjohn commented on a change in pull request #600: HBASE-22460 : Reopen regions with very high Store Ref Counts URL: https://github.com/apache/hbase/pull/600#discussion_r327717095
########## File path: hbase-client/src/main/java/org/apache/hadoop/hbase/ServerMetricsBuilder.java ########## @@ -358,6 +360,8 @@ public String toString() { for (RegionMetrics r : getRegionMetrics().values()) { storeCount += r.getStoreCount(); storeFileCount += r.getStoreFileCount(); + storeRefCount += r.getStoreRefCount(); + maxStoreFileRefCount += r.getMaxStoreFileRefCount(); Review comment: You should do max() here. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services