[infinispan-dev] 9.2 EmbeddedCacheManager blocked at shutdown

Thomas SEGISMONT tsegismont at gmail.com
Wed Mar 21 12:16:01 EDT 2018


Hi everyone,

I am working on integrating Infinispan 9.2.Final in vertx-infinispan.
Before merging I wanted to make sure the test suite passed but it doesn't.
It's not the always the same test involved.

In the logs, I see a lot of messages like "After merge (or coordinator
change), cache still hasn't recovered a majority of members and must stay
in degraded mode.
The context involved are "___counter_configuration" and
"org.infinispan.LOCKS"

Most often it's harmless but, sometimes, I also see this exception
"ISPN000210: Failed to request state of cache"
Again the cache involved is either "___counter_configuration" or
"org.infinispan.LOCKS"
After this exception, the cache manager is unable to stop. It blocks in
method "terminate" (join on cache future).

I thought the test suite was too rough (we stop all nodes at the same
time). So I changed it to make sure that:
- nodes start one after the other
- a new node is started only when the previous one indicates HEALTHY status
- nodes stop one after the other
- a node is stopped only when it indicates HEALTHY status
Pretty much what we do on Kubernetes for the readiness check actually.
But it didn't get any better.

Attached are the logs of such a failing test.

Note that the Vert.x test itself does not fail, it's only when closing
nodes that we have issues.

Here's our XML config:
https://github.com/vert-x3/vertx-infinispan/blob/ispn92/src/main/resources/default-infinispan.xml

Does that ring a bell? Do you need more info?

Regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20180321/c91f49d8/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InfinispanClusteredEventBusTest#testPublishByteArray.log
Type: text/x-log
Size: 153822 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20180321/c91f49d8/attachment-0001.bin 


More information about the infinispan-dev mailing list