Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3917

Eviction gets enabled even when strategy==NONE w/Infinispan 5.1.2/5.2.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1.Final
    • None
    • Clustering
    • None

      Infinispan 5.1.2 and 5.2.x introduce a change where the eviction strategy is set to LIRS if maxEntries is set without specifying a strategy. This causes an issue with AS7 because:

      clustering/infinispan/src/main/resources/infinispan-defaults.xml: <eviction strategy="NONE" maxEntries="10000"/>

      so users get eviction enabled on their caches unknowingly. I suggest modifying the above to remove the maxEntries attribute.

              pferraro@redhat.com Paul Ferraro
              NadirX NadirX
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: