forked from scylladb/scylladb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transport: Delay NEW_NODE until CQL listen started
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. Fixes scylladb#7301.
- Loading branch information
1 parent
fd1dd0e
commit d440842
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters