scylladb / scylla-go-driver

Experimental, high performance Scylla Driver, University of Warsaw students' project
Apache License 2.0
151 stars 7 forks source link

cluster: control connection reopen can't happen on other nodes #280

Closed Kulezi closed 2 years ago

Kulezi commented 2 years ago

Problem: When node that to which control connection points starts being unavailable, cluster tries to reopen the control connection only on this node, even when others are available.

To reproduce:

docker-compose up -d
connect to the cluster with the driver
docker stop scylla_go_driver-node1-1
Kulezi commented 2 years ago

Turns out it tries to open it on other nodes, but authentication fails which is due to low RF in system_auth keyspace which is not the driver's fault.