You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2021/09/27 10:41:00 UTC

[jira] [Updated] (RATIS-1407) Integer overflow when set "raft.server.log.queue.byte-limit" to 4GB by Ozone

     [ https://issues.apache.org/jira/browse/RATIS-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze updated RATIS-1407:
------------------------------
    Component/s: conf
     Issue Type: Improvement  (was: Bug)

I have merged the pull request.  Thanks, [~Sammi]!

> Integer overflow when set "raft.server.log.queue.byte-limit" to 4GB by Ozone
> ----------------------------------------------------------------------------
>
>                 Key: RATIS-1407
>                 URL: https://issues.apache.org/jira/browse/RATIS-1407
>             Project: Ratis
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Ozone set default "raft.server.log.queue.byte-limit" to 4BG by property "dfs.container.ratis.log.queue.byte-limit" with default value "4GB".  But when you examin the raft LOG,  "raft.server.log.queue.byte-limit" is only 2GB-1.  
> 2021-09-26 14:01:37,816 [pool-342-thread-1] INFO org.apache.ratis.server.RaftServerConfigKeys: raft.server.log.queue.byte-limit = 2147483647 (custom)
> The integer is overflowed. with 4BG. 



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