anmolnar commented on PR #2338:
URL: https://github.com/apache/zookeeper/pull/2338#issuecomment-3559819229
So, number 2) is ...
> 2. Introduce `zookeeper.shuffleDnsResponse` (true by default) and keep the
original behavior completely if set to true.
which is going to be a feature flag which toggles the old behavior. By
default, however, should be **turned off** meaning using the new behavior
implemented in this patch.
```java
if (shuffleDnsResponse) {
Collections.shuffle(resolvedAddresses);
}
```
@phunt wdyt?
--
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]