Sammi Chen created RATIS-1407:
---------------------------------

             Summary: 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: Bug
            Reporter: Sammi Chen
            Assignee: Sammi Chen


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)

Reply via email to