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

Backups for DSE 5.1 clusters fail since DSE support was added in 0.17.0 #826

Open
alberto-bortolan opened this issue Dec 2, 2024 · 0 comments

Comments

@alberto-bortolan
Copy link
Contributor

alberto-bortolan commented Dec 2, 2024

Project board link

Medusa 0.17.0 comes with the code changes introduced by #693 : Support DSE (with search)
The change, among other things, takes care of the metadata directory which was introduced in DSE 6.x.
However the code currently only differentiates between DSE and not DSE so it will try to perform a metadata snapshot even with DSE 5.1 and fail with:

[2024-11-29 00:58:43,054] INFO: Creating DSE snapshot
[2024-11-29 00:58:43,055] ERROR: Issue occurred inside handle_backup Name: fournodes01 Error: [Errno 2] No such file or directory: '/var/lib/cassandra/metadata'
[2024-11-29 00:58:43,055] DEBUG: Updated from existing status: 0 to new status: 2 for backup id: fournodes01
[2024-11-29 00:58:43,055] ERROR: Error occurred during backup: [Errno 2] No such file or directory: '/var/lib/cassandra/metadata'

the fix should be quite straightforward using release_version in addition to server_type when deciding if a 'DSE snapshot' is needed

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MED-111

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

No branches or pull requests

1 participant