Rishabh Saraswat created CASSANDRA-21206:
--------------------------------------------
Summary: CEP-59: Emit GRACEFUL_DISCONNECT event to subscribed
connections on drain
Key: CASSANDRA-21206
URL: https://issues.apache.org/jira/browse/CASSANDRA-21206
Project: Apache Cassandra
Issue Type: Sub-task
Components: Messaging/Client
Reporter: Rishabh Saraswat
Assignee: Rishabh Saraswat
Depends on: CASSANDRA-21205
When graceful_disconnect_enabled=true and drain is initiated, the server
now emits a GRACEFUL_DISCONNECT event to all connections that have
subscribed to it via REGISTER. This gives drivers a deterministic,
connection-local signal that the node is shutting down.
This applies to all intentional shutdown paths:
- nodetool drain
- nodetool disablebinary
- nodetool stopdaemon
Connections that have not subscribed to GRACEFUL_DISCONNECT are unaffected
and continue with existing behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]