You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "szymon-miezal (via GitHub)" <gi...@apache.org> on 2025/03/12 13:22:08 UTC

[PR] CASSANDRA-19580: Fix replacing node stuck in hibernation state (4.0) [cassandra]

szymon-miezal opened a new pull request, #3972:
URL: https://github.com/apache/cassandra/pull/3972

   When a node is replaced, it announces itself as hibernated (one of the silent shutdown states). If the replacement fails, other nodes continue to see the replacing node in this state. As a result, the replacing node does not receive gossip messages from the seed upon subsequent startup, leading to an exception.
   
   This patch adds an explicit shutdown announcement via gossip to ensure other nodes correctly recognize the replacing node’s state, preventing it from getting stuck without receiving gossip messages. nodes know that the node was explicitly shutdown - as it was due to the exception. That allows other nodes (seeds in particular) to contact the replacing node at its next startup, thus allowing to retry the replacement.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] CASSANDRA-19580: Fix replacing node stuck in hibernation state (4.0) [cassandra]

Posted by "bolteddown (via GitHub)" <gi...@apache.org>.
bolteddown commented on PR #3972:
URL: https://github.com/apache/cassandra/pull/3972#issuecomment-6145595233

   Just dropping a note to say that we regularly hit this bug in production. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org