Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6384

JGroupsTransport.invokeRemotelyAsync with a filter returns null on timeout

XMLWordPrintable

      JGroupsTransport.invokeRemotelyAsync() has a ResponseFilter parameter that was traditionally used only with ResponseMode.GET_FIRST, for remote get commands. In that particular case, returning a null when some of the nodes timed out and other nodes returned invalid responses (i.e. null) was acceptable.

      Since ISPN-4979, JGroupsTransport.invokeRemotelyAsync() is also used by ClusterTopologyManagerImpl, with ResponseMode.GET_ALL. Here, however, returning a null instead of throwing a TimeoutException is not acceptable.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: