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

Unable to delete a backup #771

Open
pvb05 opened this issue May 29, 2024 · 1 comment
Open

Unable to delete a backup #771

pvb05 opened this issue May 29, 2024 · 1 comment
Labels
complexity: medium good first issue Good for newcomers help-wanted Issues in the state 'help-wanted' ready Issues in the state 'ready'

Comments

@pvb05
Copy link

pvb05 commented May 29, 2024

Project board link

Hi,

I have deployed Medusa 0.21.0 in GRPC mode running alongside Cassandra in a pod. I took few backups and I am now trying to delete a few of them using the gRPC client. It throws the following error message "Backup manager has no backups on record". I went through the code (server.py) and it looks like the BackupMap keeps track of all the backups that are taken since the pod/medusa container restart and nothing prior to it.

Is this a known issue?

thanks,
Pradeep V.B.

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

@rzvoncek
Copy link
Contributor

Hi @pvb05 !

Yes, we've had similar issues with listing backups here and here.

I believe it'd be correct to have the DeleteBackup endpoint "remember" exising backups even after the pod restarts. That would be a feature we can use this issue for.

In the meanwhile, could you please try to do call the GetBackup first, and DeleteBackup second? Doing this should make the BackupMan remember the backup and not complain when deleting it.

@rzvoncek rzvoncek moved this to Product Backlog in K8ssandra Jun 11, 2024
@adejanovski adejanovski added the product-backlog Issues in the state 'product-backlog' label Jun 11, 2024
@rzvoncek rzvoncek moved this from Product Backlog to Ready in K8ssandra Jun 11, 2024
@adejanovski adejanovski moved this from Ready to Product Backlog in K8ssandra Jun 11, 2024
@adejanovski adejanovski added ready Issues in the state 'ready' product-backlog Issues in the state 'product-backlog' and removed product-backlog Issues in the state 'product-backlog' ready Issues in the state 'ready' labels Jun 11, 2024
@adejanovski adejanovski moved this from Product Backlog to Ready in K8ssandra Jun 11, 2024
@rzvoncek rzvoncek added the bug Something isn't working label Jun 11, 2024
@adejanovski adejanovski added ready Issues in the state 'ready' and removed bug Something isn't working product-backlog Issues in the state 'product-backlog' labels Jun 11, 2024
@rzvoncek rzvoncek added help wanted Extra attention is needed good first issue Good for newcomers complexity: medium help-wanted Issues in the state 'help-wanted' and removed help wanted Extra attention is needed labels Jun 11, 2024
@adejanovski adejanovski moved this from Ready to Help Wanted in K8ssandra Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: medium good first issue Good for newcomers help-wanted Issues in the state 'help-wanted' ready Issues in the state 'ready'
Projects
None yet
Development

No branches or pull requests

3 participants