-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40611/
-----------------------------------------------------------

Review request for geode, anilkumar gingade, Hitesh Khamesra, Jason Huynh, and 
Jianxia Chen.


Repository: geode


Description
-------

JGroups is selecting an IPv6 multicast address, translating the given IPv4 
mcast address into an equivalent IPv6 address, but this doesn't work on all 
machines and so causes all multicast messages to be dropped.

The fix is to tell JGroups it is using an IPv4 stack unless the 
preferIPv6Addresses property is set.

I'm also disabling use of multicast except in the case where it has been 
requested for cache operations.  JGroups will still be used to send certain 
broadcast messages but it will be via point-to-point UDP instead of multicast.


Diffs
-----

  
gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionManager.java
 247775d82851ea63845ee27a6ceb8e0a3f81833f 
  
gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/messenger/JGroupsMessenger.java
 8ac8f77c0a76a79d36ec1d87cf61d391361a58f4 
  
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/GemFireCacheImpl.java
 cd7376d2bcb89e4b774694982b3dab8092252ae6 

Diff: https://reviews.apache.org/r/40611/diff/


Testing
-------

tested with both IPv4 and IPv6


Thanks,

Bruce Schuchardt

Reply via email to