[infinispan-issues] [JBoss JIRA] (ISPN-10915) CompletionStages.continueOnExecutor() does not complete the future on rejection
Dan Berindei (Jira)
issues at jboss.org
Wed Nov 6 09:14:00 EST 2019
Dan Berindei created ISPN-10915:
-----------------------------------
Summary: CompletionStages.continueOnExecutor() does not complete the future on rejection
Key: ISPN-10915
URL: https://issues.jboss.org/browse/ISPN-10915
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.0.1.Final, 9.4.16.Final
Reporter: Dan Berindei
Assignee: Will Burns
Fix For: 10.1.0.Beta1
{{CompletionStages.continueOnExecutor()}} returns a {{CompletableFuture}} that is supposed to complete after the supplied action has run on the supplied executor. If the executor rejects the action, e.g. because it was stopped, the {{CompletableFuture}} never completes.
E.g. {{JGroupsTransport.receiveClusterView()}} indirectly uses {{CompletionStages.continueOnExecutor()}}, and it blocks view handling forever if a view is received after the async operations executor has been shut down. In turn this blocks all further view processing and the cache manager shutdown.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list