Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12803

Infinispan should not log WARN when manually evicting cache entries and EvictionStrategy.MANUAL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.1.0.Final, 11.0.11.Final
    • 11.0.9.Final, 12.0.1.Final, 12.1.0.Final
    • Eviction
    • None

      When Cache.evict(...) is called for a Cache configured with EvictionStrategy.MANUAL, Infinispan logs the following WARN:

      13:56:36,939 WARN  [org.infinispan.cache.impl.CacheImpl] (ServerService Thread Pool -- 37) ISPN000419: Eviction of an entry invoked without an explicit eviction strategy for cache SimpleWebTestCase.war
      

      It was my understanding that the purpose of EvictionStrategy.MANUAL was to preempt warnings of this nature.

              ttarrant@redhat.com Tristan Tarrant
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: