<div dir="ltr">I&#39;ll give it a try and keep you posted. Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 14:41 GMT+01:00 Radim Vansa <span dir="ltr">&lt;<a href="mailto:rvansa@redhat.com" target="_blank">rvansa@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This looks similar to [1] which has a fix [2] ready for a while. Please<br>
try with it to see if it solves your problem.<br>
<br>
[1] <a href="https://issues.jboss.org/browse/ISPN-8859" rel="noreferrer" target="_blank">https://issues.jboss.org/<wbr>browse/ISPN-8859</a><br>
[2] <a href="https://github.com/infinispan/infinispan/pull/5786" rel="noreferrer" target="_blank">https://github.com/infinispan/<wbr>infinispan/pull/5786</a><br>
<div class="HOEnZb"><div class="h5"><br>
On 03/23/2018 01:25 PM, Pedro Ruivo wrote:<br>
&gt; Hi Thomas,<br>
&gt;<br>
&gt; Is the test in question using any counter/lock?<br>
&gt;<br>
&gt; I did see similar behavior with the counter&#39;s in our server test suite.<br>
&gt; The partition handling makes the cache degraded because nodes are<br>
&gt; starting and stopping concurrently.<br>
&gt;<br>
&gt; I&#39;m not sure if there are any JIRA to tracking. Ryan, Dan do you know?<br>
&gt; If there is none, it should be created.<br>
&gt;<br>
&gt; I improved the counters by making the cache start lazily when you first<br>
&gt; get or define a counter [1]. This workaround solved the issue for us.<br>
&gt;<br>
&gt; As a workaround for your test suite, I suggest to make sure the caches<br>
&gt; (___counter_configuration and org.infinispan.LOCK) have finished their<br>
&gt; state transfer before stopping the cache managers, by invoking<br>
&gt; DefaultCacheManager.getCache(*<wbr>cache-name*) in all the caches managers.<br>
&gt;<br>
&gt; Sorry for the inconvenience and the delay in replying.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Pedro<br>
&gt;<br>
&gt; [1] <a href="https://issues.jboss.org/browse/ISPN-8860" rel="noreferrer" target="_blank">https://issues.jboss.org/<wbr>browse/ISPN-8860</a><br>
&gt;<br>
&gt; On 21-03-2018 16:16, Thomas SEGISMONT wrote:<br>
&gt;&gt; Hi everyone,<br>
&gt;&gt;<br>
&gt;&gt; I am working on integrating Infinispan 9.2.Final in vertx-infinispan.<br>
&gt;&gt; Before merging I wanted to make sure the test suite passed but it<br>
&gt;&gt; doesn&#39;t. It&#39;s not the always the same test involved.<br>
&gt;&gt;<br>
&gt;&gt; In the logs, I see a lot of messages like &quot;After merge (or coordinator<br>
&gt;&gt; change), cache still hasn&#39;t recovered a majority of members and must<br>
&gt;&gt; stay in degraded mode.<br>
&gt;&gt; The context involved are &quot;___counter_configuration&quot; and<br>
&gt;&gt; &quot;org.infinispan.LOCKS&quot;<br>
&gt;&gt;<br>
&gt;&gt; Most often it&#39;s harmless but, sometimes, I also see this exception<br>
&gt;&gt; &quot;ISPN000210: Failed to request state of cache&quot;<br>
&gt;&gt; Again the cache involved is either &quot;___counter_configuration&quot; or<br>
&gt;&gt; &quot;org.infinispan.LOCKS&quot;<br>
&gt;&gt; After this exception, the cache manager is unable to stop. It blocks in<br>
&gt;&gt; method &quot;terminate&quot; (join on cache future).<br>
&gt;&gt;<br>
&gt;&gt; I thought the test suite was too rough (we stop all nodes at the same<br>
&gt;&gt; time). So I changed it to make sure that:<br>
&gt;&gt; - nodes start one after the other<br>
&gt;&gt; - a new node is started only when the previous one indicates HEALTHY status<br>
&gt;&gt; - nodes stop one after the other<br>
&gt;&gt; - a node is stopped only when it indicates HEALTHY status<br>
&gt;&gt; Pretty much what we do on Kubernetes for the readiness check actually.<br>
&gt;&gt; But it didn&#39;t get any better.<br>
&gt;&gt;<br>
&gt;&gt; Attached are the logs of such a failing test.<br>
&gt;&gt;<br>
&gt;&gt; Note that the Vert.x test itself does not fail, it&#39;s only when closing<br>
&gt;&gt; nodes that we have issues.<br>
&gt;&gt;<br>
&gt;&gt; Here&#39;s our XML config:<br>
&gt;&gt; <a href="https://github.com/vert-x3/vertx-infinispan/blob/ispn92/src/main/resources/default-infinispan.xml" rel="noreferrer" target="_blank">https://github.com/vert-x3/<wbr>vertx-infinispan/blob/ispn92/<wbr>src/main/resources/default-<wbr>infinispan.xml</a><br>
&gt;&gt;<br>
&gt;&gt; Does that ring a bell? Do you need more info?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Thomas<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/infinispan-<wbr>dev</a><br>
&gt;&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/infinispan-<wbr>dev</a><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Radim Vansa &lt;<a href="mailto:rvansa@redhat.com">rvansa@redhat.com</a>&gt;<br>
JBoss Performance Team<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/infinispan-<wbr>dev</a><br>
</div></div></blockquote></div><br></div>