question

Shannu avatar image
Shannu asked Erick Ramirez commented

Why is DevCenter only connecting to one node?

I am trying to make use of devcenter for running cql queries and check their latencies. while i have added the node ips to the list of nodes, I think it should be connecting to all of them. Instead it is connecting to only one node at a time.

Am I doing something wrong

devcenter
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

The contact points (IPs of nodes in the cluster) you provide on the connection manager screen are exactly that -- they are used to contact the cluster and establish a connection.

Much like an app connecting to a cluster via the driver, the configured contact points are used by the driver to connect to the cluster.

DevCenter will try connect to the cluster using the node IPs provided one by one until it can establish a connection. Cheers!

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Shannu avatar image Shannu commented ·

When I try to establish connection individually they are connecting, but If I add more than one devcenter is only connecting to one of them

devcenter.png

0 Likes 0 ·
devcenter.png (74.0 KiB)
Erick Ramirez avatar image Erick Ramirez ♦♦ Shannu commented ·

That is by design. DevCenter will connect to the first node in the list which is available. Cheers!

0 Likes 0 ·