Skip to content

Conversation

mikliapko
Copy link
Contributor

@mikliapko mikliapko commented Sep 18, 2025

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)

  • I added the relevant backport labels
  • I didn't leave commented-out/debugging code

@mikliapko mikliapko self-assigned this Sep 18, 2025
@mikliapko mikliapko requested a review from Copilot September 18, 2025 14:20
@mikliapko mikliapko added the backport/none Backport is not required label Sep 18, 2025
Copy link

@Copilot Copilot AI left a 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.

@mikliapko mikliapko changed the title fix(manager): restart Scylla after schema restoration only for Scylla 2024.1 and lower fix(manager): restart Scylla after schema restoration only for Scylla 2024.1 or lower Sep 18, 2025
@mikliapko mikliapko marked this pull request as ready for review September 19, 2025 08:43
@mikliapko mikliapko requested review from Michal-Leszczynski and a team September 19, 2025 08:44
pehala
pehala previously approved these changes Sep 21, 2025
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
@mikliapko mikliapko force-pushed the manager-schema-restore-conditional-restart branch from 91900e3 to cb89103 Compare September 22, 2025 06:59
@mikliapko
Copy link
Contributor Author

@Michal-Leszczynski @scylladb/qa-maintainers Could you please take a look?

@scylladbbot
Copy link

@mikliapko new branch branch-2025.4 was added, please add backport label if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/none Backport is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants