[jboss-jira] [JBoss JIRA] (WFLY-10314) Futures returned by CommandDispatcher.submitOnCluster(...) throw ClassCastException on get() if target node has no corresponding CommandDispatcher

Radoslav Husar (JIRA) issues at jboss.org
Wed May 2 08:53:02 EDT 2018


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

Radoslav Husar updated WFLY-10314:
----------------------------------
    Summary: Futures returned by CommandDispatcher.submitOnCluster(...) throw ClassCastException on get() if target node has no corresponding CommandDispatcher  (was: Futures returned by CommandDispatcher.submitOnCluster(...) throws ClassCastException on get() if target node has no corresponding CommandDispatcher)


> Futures returned by CommandDispatcher.submitOnCluster(...) throw ClassCastException on get() if target node has no corresponding CommandDispatcher
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-10314
>                 URL: https://issues.jboss.org/browse/WFLY-10314
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 12.0.0.Final
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>
> The futures returned by CommandDispatcher.submitOnCluster(...) contain the command execution results per member of the cluster.  However, if a given member has no active CommandDispatcher to receive the command, the resulting behavior is not handled, and the Future.get() will throw a ClassCastException.  This is because the RspFilter contained in the RspOptions as passed to the MessageDispatcher is not invoked for unicast requests.
> The API will likely need to be adjusted/documented to define what behavior to expect in this scenario.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list