java-driver
java-driver copied to clipboard
fix: 4.x can't connect to the cluster when first node is non responsive
Closes #356
Since netty bootstrap.connect uses only first address of unresolved InetSocketAddress 4.x does not even try to connect to other when it fails.
This PR makes driver resolve unresolved endpoint itself and only then handing it over bootstrap.connect