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

JGroupsTransport.invokeRemotelyAsync with a filter returns null on timeout

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: