HBASE-25096 WAL size in RegionServer UI is wrong
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
ccb4e8907c
commit
53f51f3a7f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue