-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.0.z.GA
-
None
-
False
-
-
False
-
-
-
-
-
-
-
The web-clustering Galleon layer in the eap-cloud-galleon-pack (tested with 1.1.0.Final-redhat-00001) used by the eap-8.0 channel adds the following replicated-cache to the standalone.xml file:
<replicated-cache name="repl"> <locking isolation="REPEATABLE_READ"/> <transaction mode="BATCH"/> <expiration interval="0"/> <file-store/> </replicated-cache>
Unfortunately, due to WFLY-16672, it looks like the default values of the purge and passivation attributes of the file-store tag changed from true to false. This means that the above definition is effectively <file-store purge="false" passivation="false" />, which is not optimal in a clustered environment.
The eap-cloud-galleon-pack should be updated to specify <file-store purge="true" passivation="true" />.
Note: The actual definitions seem to be coming from the wildfly-cekit-modules/web-clustering which references os-infinispan-web-repl-cache.xml.
Workaround
It is possible to use the packaging-scripts feature of the eap-maven-plugin to run jboss-cli commands like the following which set the attributes to true:
<packaging-scripts> <execution> <commands> <command>/subsystem=infinispan/cache-container=web/replicated-cache=repl/store=file:write-attribute(name=purge,value=true)</command> <command>/subsystem=infinispan/cache-container=web/replicated-cache=repl/store=file:write-attribute(name=passivation,value=true)</command> </commands> </execution> </packaging-scripts>
- relates to
-
JBEAP-31812 (8.1.z) web-clustering Galleon layer creates cache configuration that differs from zip archive version
-
- New
-