[infinispan-issues] [JBoss JIRA] (ISPN-6795) ClusteredGetResponseValidityFilter swallows exceptions

Dan Berindei (JIRA) issues at jboss.org
Mon Aug 29 11:12:01 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285442#comment-13285442 ] 

Dan Berindei commented on ISPN-6795:
------------------------------------

The originator should *not* wait until the timeout expires, it should throw an {{RpcException}} the moment it receives a response from all the targets that are still in the cluster (assuming none of the responses are valid). The fact that we ignored the suspected flag for some staggered get responses and we waited for the timeout to expire is a bug, but it's orthogonal.

I agree that an exception from the remote node is very likely a bug (as we're not throwing {{OutdatedTopologyException}} for get commands at this point), so I'd make the change. It's just that it's not "fixing" {{ClusteredGetResponseValidityFilter}}, it's changing its behaviour.


> ClusteredGetResponseValidityFilter swallows exceptions
> ------------------------------------------------------
>
>                 Key: ISPN-6795
>                 URL: https://issues.jboss.org/browse/ISPN-6795
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.0.Alpha2
>            Reporter: Radim Vansa
>            Priority: Minor
>
> ClusteredGetValidityFilter does not accept exceptional responses. Therefore, if there's a exception on the remote side when executing ClusteredGetCommand, it's swallowed and TimeoutException is thrown instead.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list