[infinispan-dev] /namedCache/loaders/loader/singletonStore/@pushStateWhenCoordinator being ignored?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[infinispan-dev] /namedCache/loaders/loader/singletonStore/@pushStateWhenCoordinator being ignored?

Yuri de Wit
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
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] /namedCache/loaders/loader/singletonStore/@pushStateWhenCoordinator being ignored?

Manik Surtani
Could you please ask such questions on the user forums?


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
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev



_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] /namedCache/loaders/loader/singletonStore/@pushStateWhenCoordinator being ignored?

Yuri de Wit
My apologies!
-- yuri

On Wed, Aug 17, 2011 at 7:20 AM, Manik Surtani <[hidden email]> wrote:
Could you please ask such questions on the user forums?


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
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev



_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev