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

Support CrateDB major upgrade with full cluster restarts #128

Open
MarkusH opened this issue Nov 25, 2020 · 0 comments
Open

Support CrateDB major upgrade with full cluster restarts #128

MarkusH opened this issue Nov 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MarkusH
Copy link
Contributor

MarkusH commented Nov 25, 2020

Unlike minor and patch releases, major releases of CrateDB require a full cluster restart. https://crate.io/docs/crate/howtos/en/latest/admin/full-restart-upgrade.html

The process for that would be something like this:

  1. Scale down all StatefulSets of a cluster to 0 replicas
  2. Wait for all pods of a cluster to be gone
  3. Scale up all StatefulSets of a cluster to their original number of replicas
  4. Wait for cluster to be healthy

In order to distinguish between minor/patch and major releases, the operator's crate.operator.main.update handler will need to distinguish between these two versions upgrades and then trigger a new full cluster restart for major upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant