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());
|
+ (metaProvider == null ? 0 : metaProvider.getNumLogFiles());
|
||||||
walFileSize =
|
walFileSize =
|
||||||
(provider == null ? 0 : provider.getLogFileSize())
|
(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.
|
// Copy over computed values so that no thread sees half computed values.
|
||||||
numStores = tempNumStores;
|
numStores = tempNumStores;
|
||||||
numStoreFiles = tempNumStoreFiles;
|
numStoreFiles = tempNumStoreFiles;
|
||||||
|
|
Loading…
Reference in New Issue