java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

fix: 4.x can't connect to the cluster when first node is non responsive

Open dkropachev opened this issue 1 year ago • 0 comments

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

dkropachev avatar Oct 07 '24 16:10 dkropachev