[ https://issues.apache.org/jira/browse/CASSANDRA-15349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969057#comment-16969057 ]
Jorge Bay commented on CASSANDRA-15349: --------------------------------------- I think the client should close the connection after draining, whenever possible. This would allow completing the "going away" flow in a short period of time on a healthy cluster. The node could start rejecting new requests immediately with {{Overloaded}} to facilitate draining and moving traffic to the other nodes. I like the idea of reusing existing timeout settings ({{max(readtimeout, writetimeout)}}), instead of introducing a new one. > Add “Going away” message to the client protocol > ----------------------------------------------- > > Key: CASSANDRA-15349 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15349 > Project: Cassandra > Issue Type: New Feature > Components: Messaging/Client > Reporter: Alex Petrov > Priority: Normal > > Add “Going away” message that allows node to announce its shutdown and let > clients gracefully shutdown and not attempt further requests. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org