[
https://issues.apache.org/jira/browse/IGNITE-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866348#comment-15866348
]
Denis Magda commented on IGNITE-2552:
-------------------------------------
[~Alexey Kuznetsov], presently both the max size and max number of entries
parameters are used by eviction policies all the time even if the user sets
only one of them. Both parameters have to be used only if both of them are set
explicitly by user.
For instance, if the user sets "max size" then "max number of entries" must be
ignored and vice verse.
This should work similarly for all the policies. Also we don't need to support
parameters dynamic change in runtime. This configuration is static and all the
changes happen in runtime are ignored.
> Eviction policy must consider either max size or max entries count
> ------------------------------------------------------------------
>
> Key: IGNITE-2552
> URL: https://issues.apache.org/jira/browse/IGNITE-2552
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 1.5.0.final
> Reporter: Denis Magda
> Assignee: Alexey Kuznetsov
> Priority: Minor
> Fix For: 2.0
>
>
> Presently both max size and max entries number are considered by eviction
> policy logic even if the only one is set by user explicitly.
> This behavior must be reworked in a way that if one of the parameters is set
> explicitly then only it will be used by eviction policy while the other one
> will be ignored.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)