[infinispan-issues] [JBoss JIRA] (ISPN-7470) Distributed executor does not fail over unless future.get() is called

Dan Berindei (JIRA) issues at jboss.org
Tue Apr 25 04:33:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-7470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-7470:
-------------------------------
    Fix Version/s: 9.1.0.Final


> Distributed executor does not fail over unless future.get() is called
> ---------------------------------------------------------------------
>
>                 Key: ISPN-7470
>                 URL: https://issues.jboss.org/browse/ISPN-7470
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.2.6.Final, 9.0.0.CR1
>            Reporter: Dan Berindei
>            Assignee: William Burns
>             Fix For: 9.1.0.Final
>
>
> After ISPN-6392, {{DistributedExecutorService.submit(...)}} nominally returns a {{CompletableFuture}}. However, it doesn't behave like a regular {{CompletableFuture}}, because it doesn't run the failure policy until the user calls {{future.get()}}. 
> {{future.isComplete()}} will return {{true}} before running the failure policy, and {{future.whenComplete(callback)}} will also execute the callback before running the failure policy.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list