[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1379) cache startup error with named cache element <evictions maxEntries="-1"/> overriding defaults

Jan Slezak (JIRA) jira-events at lists.jboss.org
Mon Sep 12 06:44:26 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627783#comment-12627783 ] 

Jan Slezak commented on ISPN-1379:
----------------------------------

it works with <eviction strategy="NONE" maxEntries="-1"/>

should it behave like if there is -1 in maxEntries then strategy should be set automatically to NONE?



> cache startup error with named cache element <evictions maxEntries="-1"/> overriding defaults
> ---------------------------------------------------------------------------------------------
>
>                 Key: ISPN-1379
>                 URL: https://issues.jboss.org/browse/ISPN-1379
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Eviction
>    Affects Versions: 5.0.0.FINAL
>            Reporter: Jan Slezak
>            Assignee: Manik Surtani
>
> if there is defined for example <eviction maxEntries="10" strategy="FIFO"/> in <default/> and there is redefinition <eviction maxEntries="-1"/> in named cache - the cache reports error during startup: org.infinispan.config.ConfigurationException: Eviction maxEntries value cannot be less than or equal to zero if eviction is enabled

--
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