]
Bela Ban commented on JGRP-1963:
--------------------------------
Looks like the reason is that the selector went into a loop where {{select()}} always
returned 0. Is this the infamous selector loop bug ? Should have been fixed a long time
ago, at least in Java 8 (which I'm using)...
TCP_NIO2 starts dropping messages
---------------------------------
Key: JGRP-1963
URL:
https://issues.jboss.org/browse/JGRP-1963
Project: JGroups
Issue Type: Bug
Affects Versions: 3.6.5
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Critical
Fix For: 3.6.6
At some point, {{TCP_NIO2}} starts dropping messages, at either the send or receive
direction (still need to find out). This shows itself when e.g. a JOIN fails: the joiner
sends a lot of {{JOIN-REQ}} messages and gets {{JOIN-RSP}} msgs from the coord, but
doesn't receive them.
If {{GMS.max_join_attempts="0"}}, then this goes on forever, or until the
joiner doesn't discover any nodes anymore.
{{probe.sh jmx=UNICAST3.printConnections}} shows that messages are sent but no acks are
received.
Clearing the connection table in {{TCP_NIO2}} fixes the problem: {{probe.sh
op=TCP_NIO2.clearConnections}}.
This shows that the issue is indeed in {{TCP_NIO2}}. Also, {{TCP}} and {{UDP}} work.