GitHub user JonathanO opened a pull request:
https://github.com/apache/zookeeper/pull/456
ZOOKEEPER-2930: Leader cannot be elected due to network timeout of some
members.
Move sock.connect() into the async connection worker thread.
Use initiateConnectionAsync for all connections.
This prevents connection delays blocking notifications to other nodes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/transferwise/zookeeper ZOOKEEPER-2930
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/456.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #456
----
commit 68e327e112b0910e56b9fa2b3ba948e4179adb6b
Author: Jonathan Oddy <jonathan.oddy@...>
Date: 2018-02-02T15:33:50Z
ZOOKEEPER-2930: Leader cannot be elected due to network timeout of some
members.
Move sock.connect() into the async connection worker thread.
Use initiateConnectionAsync for all connections.
This prevents connection delays blocking notifications to other nodes.
----
---