]
Tristan Tarrant closed ISPN-8317.
---------------------------------
Resolution: Duplicate Issue
EvictionConfiguration deprecated but still required
---------------------------------------------------
Key: ISPN-8317
URL:
https://issues.jboss.org/browse/ISPN-8317
Project: Infinispan
Issue Type: Bug
Components: Eviction
Affects Versions: 9.1.0.Final
Reporter: Paul Ferraro
EvictionConfiguration is deprecated in 9.1 as it is replaced by MemoryConfiguration.
However, there are several places in the code where the memory configuration is not
referenced, and instead relies upon EvictionConfiguration.
e.g.
* AdvancedCache.evict(...) logs a WARN when EvictionConfiguration.strategy().isEnabled()
returns false - which is the default value.
* The PersistenceManager preload logic determines the number of entries to load based on
EvictionManager.maxEntries(), instead of MemoryConfiguration.size()