Details
-
Bug
-
Resolution: Done
-
Major
-
12.0.0.Final
-
None
Description
CommandDispatcher.executeOnNode(...) and submitOnNode(...) is used to execute a given command on a given member of the cluster. However, if the target member does not have an active CommandDispatcher to receive the command, the resulting NoSuchService response is not handled, and the caller will receive 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.
Attachments
Issue Links
- is cloned by
-
WFLY-10314 Futures returned by CommandDispatcher.submitOnCluster(...) throw ClassCastException on get() if target node has no corresponding CommandDispatcher
- Closed