Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16866

Integer value is out of bounds when the dataregion maxSize is large enough

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12
    • 2.14
    • cache
    • Fixed 'Integer value is out of bounds' issue when the dataregion maxSize is large enough
    • Release Notes Required

    Description

      In the Random2LruPageEvictionTracker and RandomLruPageEvictionTracker, trackingSize is int, Therefore, when the maxSize of the dataregion is large enough (for example, more than 1.2T), execute GridUnsafe.allocateMemory to allocate memory, the maximum value of int will be exceeded.

      Attachments

        1. 0001-IGNITE-16866-Integer-value-is-out-of-bounds-when-the.patch
          2 kB
          YuJue Li
        2. 2022-04-17_09-12.png
          84 kB
          YuJue Li
        3. IgniteServer.java
          0.9 kB
          YuJue Li

        Issue Links

          Activity

            People

              liyuj YuJue Li
              liyuj YuJue Li
              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 - 1h 20m
                  1h 20m