]
William Burns commented on ISPN-8325:
-------------------------------------
We can't really support a cache size of 0 with eviction. Thus I would say we should
probably make sure that documentation states this as well. [~pferraro] you were referring
to
MemoryConfiguration.isEvictionEnabled() returns false if size = 0
-----------------------------------------------------------------
Key: ISPN-8325
URL:
https://issues.jboss.org/browse/ISPN-8325
Project: Infinispan
Issue Type: Bug
Components: Configuration, Eviction
Affects Versions: 9.1.1.Final
Reporter: Paul Ferraro
Priority: Critical
The documentation for MemoryConfiguration explicitly states that eviction is disabled if
size < 0, however, this method returns false if size = 0.
Configuring MemoryConfigurationBuilder with size(0L) causes evict(...) to log a confusing
WARN message:
WARN: ISPN000419: Eviction of an entry invoked without an explicit eviction strategy for
cache foo