-
Task
-
Resolution: Done
-
Blocker
-
4.3.0.Final
-
None
-
None
Infinispan 7.2.0.Final has an eviction bug for the LIRS algorithm which is used by the default workspace cache.
This issue should be fixed in 7.2.3 or newer, so once this is released we should make sure we're using it.
To workaround this bug, users which are using ModeShape 4.3.0.Final will have to define their own default workspace cache configuration using another algorithm than LIRS.
For embedded mode, this is done via
"workspaces" : { "cacheConfiguration" : "config/infinispan-tx-ws-cache.xml" }
while for the Wildfly kit:
<workspaces cache-config="modeshape/ws-cache-config.xml">
The cache definition for the ws cache should be a non-transactional, transient (i.e. not backed by a loader) cache. See the current default as an example.