]
Will Burns updated ISPN-10912:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
HotRod server retries CheckAddressTask indefinitely during shutdown
-------------------------------------------------------------------
Key: ISPN-10912
URL:
https://issues.jboss.org/browse/ISPN-10912
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 10.0.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Fix For: 10.1.0.Beta1
Normally retrying to add the local address to the topology cache is a good idea, but
{{IllegalLifecycleStateException}} should be handled differently.
{noformat}
09:09:03,471 DEBUG (remote-thread--p11-t2:[]) [HotRodServer] Error re-adding address to
topology cache, retrying
org.infinispan.commons.CacheException: org.infinispan.IllegalLifecycleStateException:
Cache container has been stopped and cannot be reused. Recreate the cache container.
at
org.infinispan.server.hotrod.HotRodServer$ReAddMyAddressListener.lambda$recursionTopologyChanged$0(HotRodServer.java:678)
~[infinispan-server-hotrod-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.manager.impl.LocalClusterExecutor.lambda$submitConsumer$3(LocalClusterExecutor.java:78)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
~[?:?]
at
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
~[?:?]
at
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
~[?:?]
at
org.infinispan.manager.impl.LocalClusterExecutor.lambda$localInvocation$6(LocalClusterExecutor.java:97)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.util.concurrent.BlockingTaskAwareExecutorServiceImpl$RunnableWrapper.run(BlockingTaskAwareExecutorServiceImpl.java:215)
[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: org.infinispan.IllegalLifecycleStateException: Cache container has been
stopped and cannot be reused. Recreate the cache container.
at
org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:1070)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:502)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:498)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:491)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.getCache(AbstractDelegatingEmbeddedCacheManager.java:196)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.manager.impl.UnwrappingEmbeddedCacheManager.getCache(UnwrappingEmbeddedCacheManager.java:25)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at org.infinispan.server.hotrod.CheckAddressTask.apply(HotRodServer.java:725)
~[infinispan-server-hotrod-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at org.infinispan.server.hotrod.CheckAddressTask.apply(HotRodServer.java:712)
~[infinispan-server-hotrod-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
at
org.infinispan.manager.impl.LocalClusterExecutor.lambda$localInvocation$6(LocalClusterExecutor.java:94)
~[infinispan-core-10.1.0-SNAPSHOT.jar:10.1.0-SNAPSHOT]
... 4 more
{noformat}