java-driver
java-driver copied to clipboard
Add optional fallback for `ControlConnection#reconnect() `
Adds additional config option that changes behavior of ControlConnection's reconnection. In case LBP returns an empty query plan we will attempt to connect to the original endpoints regardless of their last observed status.
The option is by default disabled and driver without enabling it should keep behaving the same way as before. If enabled it should be possible to reconnect to the cluster if all endpoints containing hostnames were lost during normal operation and then cluster was replaced.