My apologies!<div>-- yuri<br><br><div class="gmail_quote">On Wed, Aug 17, 2011 at 7:20 AM, Manik Surtani <span dir="ltr">&lt;<a href="mailto:manik@jboss.org">manik@jboss.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Could you please ask such questions on the user forums?<div><br></div><div><a href="http://community.jboss.org/en/infinispan?view=discussions" target="_blank">http://community.jboss.org/en/infinispan?view=discussions</a></div>
<div><br></div><div>This mail list is for developing or enhancing Infinispan itself.</div><div><br></div><div>Thanks</div><div>Manik</div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On 16 Aug 2011, at 02:48, Yuri de Wit wrote:</div>
<br></div></div><blockquote type="cite"><div><div></div><div class="h5">I have a declarative cache.xml file that has an entry as follows:<br><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)">
<span style="color:#000000"><span style="white-space:pre-wrap">        </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">namedCache</span><span style="color:#000000"> </span><span style="color:#95188f">name</span><span style="color:#000000">=</span>&quot;type-data&quot;<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(84, 117, 200)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span>&lt;!-- jmxStatistics enabled=&quot;true&quot; / --&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(84, 117, 200)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span>&lt;!--  invocationBatching enabled=&quot;true&quot;/ --&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">clustering</span><span style="color:#000000"> </span><span style="color:#95188f">mode</span><span style="color:#000000">=</span>&quot;invalidation&quot;<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(84, 117, 200)"><span style="color:#000000"><span style="white-space:pre-wrap">                        </span></span>&lt;!--  l1 enabled=&quot;true&quot; <span style="text-decoration:underline">lifespan</span>=&quot;60000&quot; / --&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="white-space:pre-wrap">        </span>         <span style="color:#009292">&lt;</span><span style="color:#4d9191">sync</span> <span style="color:#95188f">replTimeout</span>=<span style="color:#492cfa">&quot;20000&quot;</span><span style="color:#009292">/&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span><span style="color:#009292">&lt;/</span>clustering<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(149, 24, 143)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">loaders</span><span style="color:#000000"> </span>passivation<span style="color:#000000">=</span><span style="color:#492cfa">&quot;false&quot;</span><span style="color:#000000"> </span>shared<span style="color:#000000">=</span><span style="color:#492cfa">&quot;false&quot;</span><span style="color:#000000"> </span>preload<span style="color:#000000">=</span><span style="color:#492cfa">&quot;false&quot;</span><span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                        </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">loader</span><span style="color:#000000"> </span><span style="color:#95188f">class</span><span style="color:#000000">=</span>&quot;FileDataCacheStore&quot;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(149, 24, 143)"><span style="color:#000000"><span style="white-space:pre-wrap">                                </span></span>fetchPersistentState<span style="color:#000000">=</span><span style="color:#492cfa">&quot;false&quot;</span><span style="color:#000000"> </span>purgeSynchronously<span style="color:#000000">=</span><span style="color:#492cfa">&quot;true&quot;</span><span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">                                </span></span><span style="color:#009292">&lt;</span>properties<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                                        </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">property</span><span style="color:#000000"> </span><span style="color:#95188f">name</span><span style="color:#000000">=</span>&quot;location&quot;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                                                </span></span><span style="color:#95188f">value</span><span style="color:#000000">=</span>&quot;${data.path}&quot;<span style="color:#000000"> </span><span style="color:#009292">/&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                                        </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">property</span><span style="color:#000000"> </span><span style="color:#95188f">name</span><span style="color:#000000">=</span>&quot;chunkSize&quot;<span style="color:#000000"> </span><span style="color:#95188f">value</span><span style="color:#000000">=</span>&quot;32768&quot;<span style="color:#009292">/&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(73, 44, 250)"><span style="color:#000000"><span style="white-space:pre-wrap">                                        </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">property</span><span style="color:#000000"> </span><span style="color:#95188f">name</span><span style="color:#000000">=</span>&quot;compressChunks&quot;<span style="color:#000000"> </span><span style="color:#95188f">value</span><span style="color:#000000">=</span>&quot;true&quot;<span style="color:#009292">/&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">                                </span></span><span style="color:#009292">&lt;/</span>properties<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(149, 24, 143)"><span style="color:#000000"><span style="white-space:pre-wrap">                                </span></span><span style="color:#009292">&lt;</span><span style="color:#4d9191">singletonStore</span><span style="color:#000000"> </span>enabled<span style="color:#000000">=</span><span style="color:#492cfa">&quot;true&quot;</span><span style="color:#000000"> </span>pushStateWhenCoordinator<span style="color:#000000">=</span><span style="color:#492cfa">&quot;false&quot;</span><span style="color:#000000"> </span>pushStateTimeout<span style="color:#000000">=</span><span style="color:#492cfa">&quot;20000&quot;</span><span style="color:#000000"> </span><span style="color:#009292">/&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">                        </span></span><span style="color:#009292">&lt;/</span>loader<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">                </span></span><span style="color:#009292">&lt;/</span>loaders<span style="color:#009292">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(77, 145, 145)"><span style="color:#000000"><span style="white-space:pre-wrap">        </span></span><span style="color:#009292">&lt;/</span>namedCache<span style="color:#009292">&gt;</span></div>

<div><br></div><div>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&#39;s false is still true. And when I stop the coordinator the 2nd node in the cluster is trying to push it&#39;s state to the store.</div>

<div><br></div><div>Is this a known issue? Or am I doing something wrong?</div><div><br></div><div>-- yuri</div></div></div>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote>
</div><br><font color="#888888"><div>
<div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani" target="_blank">twitter.com/maniksurtani</a></div><div>
<br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org" target="_blank">http://www.infinispan.org</a></div><div><br></div></div><br>
</div>
<br></font></div></div><br>_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></div><br></div>