[infinispan-issues] [JBoss JIRA] Created: (ISPN-847) Eviction with strategy but no maxEntries does not make sense

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Dec 22 11:19:18 EST 2010


Eviction with strategy but no maxEntries does not make sense
------------------------------------------------------------

                 Key: ISPN-847
                 URL: https://issues.jboss.org/browse/ISPN-847
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration, Eviction
    Affects Versions: 5.0.0.ALPHA1, 4.2.0.Final
            Reporter: Galder Zamarreño
            Assignee: Vladimir Blagojevic
            Priority: Minor
             Fix For: 5.0.0.BETA1, 5.0.0.Final


A configuration like this can be confusing cos no maxEntries is set, and without it there's no trigger to start evicting stuff:

    <default>
        <eviction strategy="FIFO" wakeUpInterval="6000" /><!-- 6 seconds -->
    </default>

So, we should come up with some WARN/ERROR message indicating that maxEntries is missing unless NONE strategy is used. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list