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
After adding a new node to the cluster, Scylla sends a NEW_NODE event. Some clients (for example Java Driver 3.x - both Scylla and DataStax version) immediately try to connect to such new node, however they (sometimes) fail, because Scylla has not started listening for CQL clients yet.
There is a discrepancy between Scylla and Cassandra: Cassandra waits for CQL listening to start (on a new node) before sending NEW_NODE to clients. Therefore in Cassandra clients can immediately connect to the new node described in the NEW_NODE event. I have manually verified this waiting behaviour by adding a 20s sleep in Cassandra 3.11.8 before starting CQL listening (Thread.sleep(20000) before line 161 in Server.java).
Installation details
Scylla version (or git commit hash): 666.development-0.20200929.1adf2cc84
Cluster size: 1 (2 after adding second node)
OS (RHEL/CentOS/Ubuntu/AWS AMI): Fedora 32
The text was updated successfully, but these errors were encountered:
After adding a new node to the cluster, Scylla sends a NEW_NODE event
to CQL clients. Some clients immediately try to connect to the new node,
however it fails as the node has not yet started listening to CQL
requests.
In contrast, Apache Cassandra waits for the new node to start its CQL
server before sending NEW_NODE event. In practice this means that
NEW_NODE and UP events will be sent "jointly" after new node is UP.
This change is implemented in the same manner as in Apache Cassandra
code.
Fixesscylladb#7301.
After adding a new node to the cluster, Scylla sends a NEW_NODE event
to CQL clients. Some clients immediately try to connect to the new node,
however it fails as the node has not yet started listening to CQL
requests.
In contrast, Apache Cassandra waits for the new node to start its CQL
server before sending NEW_NODE event. In practice this means that
NEW_NODE and UP events will be sent "jointly" after new node is UP.
This change is implemented in the same manner as in Apache Cassandra
code.
Fixesscylladb#7301.
After adding a new node to the cluster, Scylla sends a
NEW_NODE
event. Some clients (for example Java Driver 3.x - both Scylla and DataStax version) immediately try to connect to such new node, however they (sometimes) fail, because Scylla has not started listening for CQL clients yet.There is a discrepancy between Scylla and Cassandra: Cassandra waits for CQL listening to start (on a new node) before sending
NEW_NODE
to clients. Therefore in Cassandra clients can immediately connect to the new node described in theNEW_NODE
event. I have manually verified this waiting behaviour by adding a 20s sleep in Cassandra 3.11.8 before starting CQL listening (Thread.sleep(20000)
before line 161 in Server.java).Installation details
Scylla version (or git commit hash): 666.development-0.20200929.1adf2cc84
Cluster size: 1 (2 after adding second node)
OS (RHEL/CentOS/Ubuntu/AWS AMI): Fedora 32
The text was updated successfully, but these errors were encountered: