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

Fix _scheme_rmvm_rmdisk_only with canary=filter. Add new 'noop' redeploy scheme '_noredeploy_scale_in_only' #105

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

dseeley-sky
Copy link
Contributor

  • New scheme '_noredeploy_scale_in_only'
    • A special 'no-redeploy' scheme, which scales-in a cluster without needing to redeploy every node.
    • For each node in the cluster { run predeleterole on the node; shut down the node}
  • _scheme_rmvm_rmdisk_only with canary=filter was using undefined fields. Refactor to use cluster_hosts_state, and enable ability to downscale using this scheme.

flfernandez and others added 2 commits September 24, 2021 13:52
…loy scheme '_noredeploy_scale_in_only'

+ New scheme '_noredeploy_scale_in_only'
  + A special 'no-redeploy' scheme, which scales-in a cluster without needing to redeploy every node.
  + For each node in the cluster { run `predeleterole` on the node; shut down the node}
+ _scheme_rmvm_rmdisk_only with canary=filter was using undefined fields.  Refactor to use cluster_hosts_state, and enable ability to downscale using this scheme.
@dseeley-sky dseeley-sky marked this pull request as ready for review October 7, 2021 11:54
Copy link
Contributor

@flfernandez flfernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Note: Successfully tested "scaling in" a Cassandra cluster from 6 to 3 nodes.

@dseeley-sky dseeley-sky merged commit 94093ef into master Oct 7, 2021
@dseeley-sky dseeley-sky deleted the dse09_canary_filter_fix__scale_in branch October 7, 2021 14:16
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.

2 participants