Skip to content

Fix operationMode stuck in DECOMMISSION_FAILED during resumed decommission#4920

Open
minal-kyada wants to merge 1 commit into
apache:trunkfrom
minal-kyada:node-decommission-fix
Open

Fix operationMode stuck in DECOMMISSION_FAILED during resumed decommission#4920
minal-kyada wants to merge 1 commit into
apache:trunkfrom
minal-kyada:node-decommission-fix

Conversation

@minal-kyada

Copy link
Copy Markdown
Contributor

Issue: When a node's decommission fails mid stream, it enters DECOMMISSION_FAILED mode. On the subsequent decommission --force resume, clearTransientMode() was never called, so operationMode() remained stuck as DECOMMISSION_FAILED throughout the resumed streaming, even though the node was actively leaving.

Fix: Added a clearTransientMode() call on the resume branch of decommission(), mirroring the same pattern already used by every other path that recovers a node from a failed state.

patch by @minal-kyada ; reviewed by @maedhroz and @beobal for CASSANDRA-21493

@minal-kyada minal-kyada force-pushed the node-decommission-fix branch from 6f449e5 to a05b7f2 Compare July 9, 2026 22:20
@minal-kyada minal-kyada force-pushed the node-decommission-fix branch from a05b7f2 to c081555 Compare July 9, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant