[
https://issues.apache.org/jira/browse/IGNITE-16866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523662#comment-17523662
]
Amelchev Nikita edited comment on IGNITE-16866 at 4/18/22 11:28 AM:
--------------------------------------------------------------------
LGTM. Merged into the master.
[~liyuj] , Thank you for the contribute!
was (Author: nsamelchev):
LGTM. Merged into the master.
[~liyuj] , Thank you for the contribute!
> Integer value is out of bounds when the dataregion maxSize is large enough
> --------------------------------------------------------------------------
>
> Key: IGNITE-16866
> URL: https://issues.apache.org/jira/browse/IGNITE-16866
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.12
> Reporter: YuJue Li
> Assignee: YuJue Li
> Priority: Minor
> Fix For: 2.14
>
> Attachments:
> 0001-IGNITE-16866-Integer-value-is-out-of-bounds-when-the.patch,
> 2022-04-17_09-12.png, IgniteServer.java
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)