-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
-
False
-
-
Oftentimes, we have a config like this:
<TCP bind_addr="site_local".../> <TCPPING initial_hosts="localhost[7800]" />
This could result in TCP's bind_addr being (e.g. 192.168.1.5), but TCPPING's initial_hosts resolving to 127.0.0.1 (localhost). This results in members not finding each other.
Usually, this is not an issue because bind_addr and initial_hosts will be set to the same values, but - e.g. for a quick initial demo of JGroups - it means members don't find each other.
Suggested fix: fetch bind_addr from the transport and add it (multiplied by port_range) to initial_hists.