[
https://issues.apache.org/jira/browse/CASSANDRA-21206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Saraswat updated CASSANDRA-21206:
-----------------------------------------
Description:
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.
NOTE: Completion of this sub-task marks the successful delivery of the GSoC
2026 Midterm Milestone (Protocol Discovery & Signal Foundation).
was:
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.
> 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
> Priority: Normal
>
> 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.
> NOTE: Completion of this sub-task marks the successful delivery of the GSoC
> 2026 Midterm Milestone (Protocol Discovery & Signal Foundation).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]