TCPPING: not all nodes have all physical addresses
--------------------------------------------------
Key: JGRP-925
URL:
https://jira.jboss.org/jira/browse/JGRP-925
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.8
- We have A and B
- TCPPING for A and B lists A and B as initial_hosts
- C's config lists only A as initial_hosts
- When C joins, it 'll ping only A, so it has information about A's physical
address in its cache
- Plus, the discovery response from A also adds information about A to C's cache
- HOWEVER, C does not have the physical address of B, and B doesn't have the physical
address of C !
--> When C multicasts a message, B will not receive it
--> When B multicasts a message, C will not receive it
The reason is that a discovery response from a node N only contains the logical-physical
mapping for N, but not for other nodes.
SOLUTION: introduce property return_entire_cache. By default, this is false, but TCPPING
sets it to true. When A gets the discovery request from C, it'll return information
about A *and* B. When B wants to send a multicast, it'll skip C though, but on the
next MERGE2, it'll get the physical address of C. Retransmission will then make sure C
receives B previously dropped multicast
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira