You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2022/04/17 01:14:00 UTC

[jira] [Assigned] (IGNITE-16866) Integer value is out of bounds when the dataregion maxSize is large enough

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

YuJue Li reassigned IGNITE-16866:
---------------------------------

    Assignee: YuJue Li

> 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: 2022-04-17_09-12.png
>
>
> 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)

Re: [jira] [Assigned] (IGNITE-16866) Integer value is out of bounds when the dataregion maxSize is large enough

Posted by 18624049226 <18...@163.com>.
Hello team,

Is there anyone willing to help merge the following PR?

https://github.com/apache/ignite/pull/9983

在 2022/4/17 09:14, YuJue Li (Jira) 写道:
>       [https://issues.apache.org/jira/browse/IGNITE-16866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel  ]
>
> YuJue Li reassigned IGNITE-16866:
> ---------------------------------
>
>      Assignee: YuJue Li
>
>> 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: 2022-04-17_09-12.png
>>
>>
>> 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)