[jboss-cvs] JBossAS SVN: r109977 - trunk/cluster/src/resources/infinispan.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 16 20:54:01 EST 2010
Author: pferraro
Date: 2010-12-16 20:54:00 -0500 (Thu, 16 Dec 2010)
New Revision: 109977
Modified:
trunk/cluster/src/resources/infinispan/infinispan-configs.xml
Log:
Restore state transfer for sync-mode cache configs (ISPN-835 workaround).
Modified: trunk/cluster/src/resources/infinispan/infinispan-configs.xml
===================================================================
--- trunk/cluster/src/resources/infinispan/infinispan-configs.xml 2010-12-17 01:46:48 UTC (rev 109976)
+++ trunk/cluster/src/resources/infinispan/infinispan-configs.xml 2010-12-17 01:54:00 UTC (rev 109977)
@@ -76,10 +76,16 @@
</default>
<namedCache name="sync">
<clustering mode="replication">
- <!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
- <!--stateRetrieval timeout="60000" fetchInMemoryState="true"/-->
+ <stateRetrieval timeout="60000" fetchInMemoryState="true"/>
<sync/>
</clustering>
+ <loaders passivation="true">
+ <loader class="org.infinispan.loaders.file.FileCacheStore" fetchPersistentState="true" purgeOnStartup="true">
+ <properties>
+ <property name="location" value="${jboss.server.data.dir}${/}web"/>
+ </properties>
+ </loader>
+ </loaders>
</namedCache>
<namedCache name="dist">
<clustering mode="distribution">
@@ -143,13 +149,20 @@
</default>
<namedCache name="sync">
<clustering mode="replication">
- <!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
- <!--stateRetrieval timeout="60000" fetchInMemoryState="true"/-->
+ <stateRetrieval timeout="60000" fetchInMemoryState="true"/>
<sync/>
</clustering>
+ <loaders passivation="true" shared="false">
+ <loader class="org.infinispan.loaders.file.FileCacheStore" fetchPersistentState="true" purgeOnStartup="true">
+ <properties>
+ <property name="location" value="${jboss.server.data.dir}${/}sfsb"/>
+ </properties>
+ </loader>
+ </loaders>
</namedCache>
<namedCache name="dist">
<clustering mode="distribution">
+ <!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
<!--stateRetrieval timeout="60000" fetchInMemoryState="false"/-->
<hash numOwners="2"/>
<l1 enabled="true"/>
@@ -252,6 +265,7 @@
<!-- A query cache that replicates queries. Replication is asynchronous. -->
<namedCache name="replicated-query">
<clustering mode="replication">
+ <!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
<!--stateRetrieval fetchInMemoryState="false"/-->
<async/>
</clustering>
@@ -275,6 +289,7 @@
<!-- A clustered timestamp cache is required if query caching is used, even if the query cache itself is configured with CacheMode=LOCAL. -->
<namedCache name="timestamps">
<clustering mode="replication">
+ <!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
<!--stateRetrieval fetchInMemoryState="true" timeout="20000"/-->
<async/>
</clustering>
More information about the jboss-cvs-commits
mailing list