Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CASSANDRA-16418]: Unsafe to run nodetool cleanup during bootstrap or decommission #2061

Closed
wants to merge 12 commits into from

Conversation

linzuro
Copy link
Contributor

@linzuro linzuro commented Dec 22, 2022

Changes:

  • Added check during cleanup to ensure the node has no pending ranges before proceeding
  • Bug from JIRA ticket did not exist for bootstrap due to existing safety check but the check was one level below other safeguard checks so moved it to same location

To reproduce, run cleanup on a node receiving data while another node is being decommissioned. I created 20 sstables of data.

patch by Lindsey Zurovchak; reviewed by Paulo Motta for CASSANDRA-16418

@linzuro linzuro force-pushed the CASSANDRA-16418 branch 2 times, most recently from d14d074 to 8705b1d Compare December 30, 2022 18:20
@linzuro linzuro requested review from pauloricardomg and smiklosovic and removed request for pauloricardomg and smiklosovic January 17, 2023 17:06
@asfgit asfgit closed this in 8bb9c72 Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants