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

RPCs to non-members throw spurious TimeoutException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.CR2, 9.0.0.Final
    • 9.0.0.Beta1
    • Core
    • None

    Description

      MessageDispatcher.cast() filters out the recipients that are not members in the JGroups view, and if none of the recipients are members, it returns an empty RspList.

      JGroupsTransport.invokeRemotelyAsync() instead expects that the RspList always contains a Rsp instance for each recipient, and it throws a TimeoutException if a Rsp is missing.

      19:26:36,088 INFO  (jgroups-8,Test-NodeE-27588:[]) [JGroupsTransport] ISPN000094: Received new cluster view for channel ISPN: [Test-NodeE-27588|4] (3) [Test-NodeE-27588, Test-NodeF-40780, Test-NodeG-29022]
      19:26:36,090 TRACE (stateTransferExecutor-thread-Test-NodeE-p16301-t3:[]) [JGroupsTransport] dests=[Test-NodeH-40364], command=StateRequestCommand{cache=dist, origin=Test-NodeE-27588, type=START_STATE_TRANSFER, topologyId=9, segments=[128, 1, 129, 130, 3, 4, 199, 200, 12, 144, 208, 145, 146, 92, 100, 101, 109, 110, 111, 112, 176, 49, 50, 51, 54, 188, 189, 253, 190, 127]}, mode=SYNCHRONOUS_IGNORE_LEAVERS, timeout=240000
      19:26:36,098 TRACE (stateTransferExecutor-thread-Test-NodeE-p16301-t3:[]) [JGroupsTransport] Responses: Responses{}
      19:26:36,098 TRACE (stateTransferExecutor-thread-Test-NodeE-p16301-t3:[]) [RpcManagerImpl] Replication exception
      org.infinispan.util.concurrent.TimeoutException: Timed out waiting for valid responses!
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$2(JGroupsTransport.java:661) ~[classes/:?]
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: