Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1407

Integer overflow when set "raft.server.log.queue.byte-limit" to 4GB by Ozone

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • conf
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Sammi Sammi Chen
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h