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/28 06:14:00 UTC

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

    [ https://issues.apache.org/jira/browse/HBASE-25096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203020#comment-17203020 ] 

Toshihiro Suzuki commented on HBASE-25096:
------------------------------------------

Pushed to master, branch-2, branch-2.3, branch-2.2 and branch-1.

Thank you for reviewing this! [~zghao]

> 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
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.3.3, 1.7.0, 2.4.0, 2.2.7
>
>
> 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)