You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If all nodes in the cluster change their IPs at one time, driver can no longer ever contact the cluster; the only solution is to restart the driver. A fallback should be added to the control connection reconnect logic so that when no known host is reachable, all hostnames among initial contact points are reresolved and control connection is attempted to be opened to any of them. If this succeeds, a metadata fetch is issued normally and the whole cluster is discovered with its new IPs.
The text was updated successfully, but these errors were encountered:
mykaul
changed the title
Reresolve hostnames as fallback when all hosts are unreachable
Re-resolve hostnames as fallback when all hosts are unreachable
Jul 3, 2023
In scylla-4.x we should have the parameter called advanced.resolve-contact-points which should take care of that.
So, if it works this enhancement should be done only for scylla-3.x
If all nodes in the cluster change their IPs at one time, driver can no longer ever contact the cluster; the only solution is to restart the driver. A fallback should be added to the control connection reconnect logic so that when no known host is reachable, all hostnames among initial contact points are reresolved and control connection is attempted to be opened to any of them. If this succeeds, a metadata fetch is issued normally and the whole cluster is discovered with its new IPs.
An analogous feature has been merged to gocql lastly: apache/cassandra-gocql-driver#1708
The text was updated successfully, but these errors were encountered: