HBASE-25096 WAL size in RegionServer UI is wrong

Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
Toshihiro Suzuki 2020-09-28 15:09:42 +09:00
parent ccb4e8907c
commit 53f51f3a7f
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ class MetricsRegionServerWrapperImpl
+ (metaProvider == null ? 0 : metaProvider.getNumLogFiles());
walFileSize =
(provider == null ? 0 : provider.getLogFileSize())
+ (provider == null ? 0 : provider.getLogFileSize());
+ (metaProvider == null ? 0 : metaProvider.getLogFileSize());
// Copy over computed values so that no thread sees half computed values.
numStores = tempNumStores;
numStoreFiles = tempNumStoreFiles;