]
Dan Berindei updated ISPN-7377:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
RPCs to non-members throw spurious TimeoutException
---------------------------------------------------
Key: ISPN-7377
URL:
https://issues.jboss.org/browse/ISPN-7377
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.Beta1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Beta2
{{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.
{noformat}
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/:?]
{noformat}