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

[scylla-node]: upgrade: avoid restarting the service when the version that is about to be installed is already installed #420

Open
vladzcloudius opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@vladzcloudius
Copy link
Collaborator

HEAD: dc53597

Description

In the "upgrade" mode the Role is going to drain, stop, start the scylla service even if the version that is requested to be installed is already installed.

This is obviously a waste and we should consider improving it.

For that we need to resolve the full scylla version and compare it to the already installed one.
For example, if scylla_version: 2024.1.11 + upgrade_version: true are given, then we need to resolve the full version first.
It's going to be 2024.1.11-0.20240928.13ee6268a233-1.
When, if the corresponding package is already installed the Role should skip the draining and the rest for the corresponding node.

@vladzcloudius vladzcloudius added the enhancement New feature or request label Oct 18, 2024
@vladzcloudius vladzcloudius self-assigned this Oct 18, 2024
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