You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Toshihiro Suzuki (Jira)" <ji...@apache.org> on 2020/09/25 03:08:00 UTC

[jira] [Created] (HBASE-25096) WAL size in RegionServer UI is wrong

Toshihiro Suzuki created HBASE-25096:
----------------------------------------

             Summary: WAL size in RegionServer UI is wrong
                 Key: HBASE-25096
                 URL: https://issues.apache.org/jira/browse/HBASE-25096
             Project: HBase
          Issue Type: Bug
            Reporter: Toshihiro Suzuki
            Assignee: Toshihiro Suzuki


In MetricsRegionServerWrapperImpl, *walFileSize* is calculated by *provider.getLogFileSize()* twice as follows, which is causing the wrong WAL size in RegionServer UI:
{code:java}
        walFileSize = (provider == null ? 0 : provider.getLogFileSize()) +
            (provider == null ? 0 : provider.getLogFileSize());
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)