Could you please ask such questions on the user forums?

http://community.jboss.org/en/infinispan?view=discussions

This mail list is for developing or enhancing Infinispan itself.

Thanks
Manik


On 16 Aug 2011, at 02:48, Yuri de Wit wrote:

I have a declarative cache.xml file that has an entry as follows:

<namedCache name="type-data">
<!-- jmxStatistics enabled="true" / -->
<!--  invocationBatching enabled="true"/ -->
<clustering mode="invalidation">
<!--  l1 enabled="true" lifespan="60000" / -->
        <sync replTimeout="20000"/>
</clustering>
<loaders passivation="false" shared="false" preload="false">
<loader class="FileDataCacheStore"
fetchPersistentState="false" purgeSynchronously="true">
<properties>
<property name="location"
value="${data.path}" />
<property name="chunkSize" value="32768"/>
<property name="compressChunks" value="true"/>
</properties>
<singletonStore enabled="true" pushStateWhenCoordinator="false" pushStateTimeout="20000" />
</loader>
</loaders>
</namedCache>

What I am seeing is that pushStateWhenCoordinator is being ignored. I do see JAXB calling setPushStateWhenCoordinator as I would expect but when the unmarshal() is done it's false is still true. And when I stop the coordinator the 2nd node in the cluster is trying to push it's state to the store.

Is this a known issue? Or am I doing something wrong?

-- yuri
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org