[infinispan-issues] [JBoss JIRA] Created: (ISPN-670) Consider all entries from data container as eviction candidates

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Fri Sep 24 11:27:28 EDT 2010


Consider all entries from data container as eviction candidates
---------------------------------------------------------------

                 Key: ISPN-670
                 URL: https://jira.jboss.org/browse/ISPN-670
             Project: Infinispan
          Issue Type: Bug
          Components: Eviction
    Affects Versions: 4.2.0.ALPHA2, 4.1.0.Final
            Reporter: Vladimir Blagojevic
            Assignee: Vladimir Blagojevic


There was a subtle change of eviction semantics starting with 4.1 where only immortal entries are considered as eviction candidates. By default all entries are immortal, that is, their expiration and lifespan are -1. As soon as mortal entries are used (expiration !=-1 || lifespan !=-1) they are not subject to eviction policies and container size can grow above limit specified in maxEntries.

This policy is confusing and it does not make a lot of sense. All candidates, both mortal and immortal should be considered as eviction candidates and as such subject to eviction.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list