anmolnar opened a new pull request, #2338:
URL: https://github.com/apache/zookeeper/pull/2338

   I ended up removing the random shuffle when resolving DNS names. This way we 
will honor JVM setting `-Djava.net.preferIPv6Addresses`, because the order of 
returned address are already influenced by this setting. If multiple addresses 
are returned for the same host with the same address type (v4/v6), we'll try 
each in every round, because DNS already randomize the addresses within the 
same class.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to