-
Notifications
You must be signed in to change notification settings - Fork 108
fix(manager): restart Scylla after schema restoration only for Scylla 2024.1 or lower #12017
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
base: master
Are you sure you want to change the base?
fix(manager): restart Scylla after schema restoration only for Scylla 2024.1 or lower #12017
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR conditionally restarts Scylla nodes after schema restoration based on the Scylla version. It only restarts nodes for Scylla versions 2024.1 and lower, as newer versions no longer require this restart.
Key changes:
- Adds version comparison logic using ComparableScyllaVersion
- Replaces unconditional restart with version-conditional restart after schema restoration
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Restart Scylla only after schema restoration for versions 2024.1 or lower. For the newest versions of Scylla it's not required. Docs: https://manager.docs.scylladb.com/stable/restore/restore-schema.html https://manager.docs.scylladb.com/stable/restore/old-restore-schema.html
91900e3
to
cb89103
Compare
@Michal-Leszczynski @scylladb/qa-maintainers Could you please take a look? |
@mikliapko new branch |
Restart Scylla only after schema restoration for versions 2024.1 or lower. For the newest versions of Scylla it's not required.
Docs:
https://manager.docs.scylladb.com/stable/restore/restore-schema.html
https://manager.docs.scylladb.com/stable/restore/old-restore-schema.html
Testing
PR pre-checks (self review)
backport
labels