<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Could you please ask such questions on the user forums?<div><br></div><div><a href="http://community.jboss.org/en/infinispan?view=discussions">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>On 16 Aug 2011, at 02:48, Yuri de Wit wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </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>"type-data"<span style="color: #009292">&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(84, 117, 200); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </span></span>&lt;!-- jmxStatistics enabled="true" / --&gt;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(84, 117, 200); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </span></span>&lt;!--&nbsp; invocationBatching enabled="true"/ --&gt;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </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>"invalidation"<span style="color: #009292">&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(84, 117, 200); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </span></span>&lt;!--&nbsp; l1 enabled="true" <span style="text-decoration: underline">lifespan</span>="60000" / --&gt;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009292">&lt;</span><span style="color: #4d9191">sync</span> <span style="color: #95188f">replTimeout</span>=<span style="color: #492cfa">"20000"</span><span style="color: #009292">/&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </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; font: normal normal normal 11px/normal Monaco; color: rgb(149, 24, 143); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </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">"false"</span><span style="color: #000000"> </span>shared<span style="color: #000000">=</span><span style="color: #492cfa">"false"</span><span style="color: #000000"> </span>preload<span style="color: #000000">=</span><span style="color: #492cfa">"false"</span><span style="color: #009292">&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </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>"FileDataCacheStore"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(149, 24, 143); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                </span></span>fetchPersistentState<span style="color: #000000">=</span><span style="color: #492cfa">"false"</span><span style="color: #000000"> </span>purgeSynchronously<span style="color: #000000">=</span><span style="color: #492cfa">"true"</span><span style="color: #009292">&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                </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; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                        </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>"location"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                                </span></span><span style="color: #95188f">value</span><span style="color: #000000">=</span>"${data.path}"<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; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                        </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>"chunkSize"<span style="color: #000000"> </span><span style="color: #95188f">value</span><span style="color: #000000">=</span>"32768"<span style="color: #009292">/&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(73, 44, 250); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                        </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>"compressChunks"<span style="color: #000000"> </span><span style="color: #95188f">value</span><span style="color: #000000">=</span>"true"<span style="color: #009292">/&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                </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; font: normal normal normal 11px/normal Monaco; color: rgb(149, 24, 143); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                                </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">"true"</span><span style="color: #000000"> </span>pushStateWhenCoordinator<span style="color: #000000">=</span><span style="color: #492cfa">"false"</span><span style="color: #000000"> </span>pushStateTimeout<span style="color: #000000">=</span><span style="color: #492cfa">"20000"</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; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </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; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </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; font: normal normal normal 11px/normal Monaco; color: rgb(77, 145, 145); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </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'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.</div>
<div><br></div><div>Is this a known issue? Or am I doing something wrong?</div><div><br></div><div>-- yuri</div>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br><div>
<div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>