guluo created HBASE-29014: ----------------------------- Summary: The RegionServer metrics of WALs is incorrect Key: HBASE-29014 URL: https://issues.apache.org/jira/browse/HBASE-29014 Project: HBase Issue Type: Bug Components: metrics Environment: master Reporter: guluo
RegionServer Metrics of wals (file count and file size) is incorrect. We should should recalculate every time, rather than continuously accumulating them. // MetricsRegionServerWrapperImpl.RegionServerMetricsWrapperRunnable.run() List<WALProvider> providers = regionServer.getWalFactory().getAllWALProviders(); for (WALProvider provider : providers) { numWALFiles += provider.getNumLogFiles(); walFileSize += provider.getLogFileSize(); } -- This message was sent by Atlassian Jira (v8.20.10#820010)