[
https://issues.apache.org/jira/browse/IGNITE-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905187#comment-15905187
]
Andrey Gura commented on IGNITE-2552:
-------------------------------------
[~Alexey Kuznetsov]
I've merged your changes into master branch with some cosmetic changes (code
style related). Also perfromance issue was found and fixed (invoke {{size()}}
method instead of {{sizex()}} changes constant complexity to linear one). All
code review related fixes are represented as separate commit.
Thanks for your contribution!
> 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)