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

Deleting ps-backups leaves stale ".md5" file #737

Open
bezio opened this issue Aug 27, 2024 · 0 comments
Open

Deleting ps-backups leaves stale ".md5" file #737

bezio opened this issue Aug 27, 2024 · 0 comments

Comments

@bezio
Copy link

bezio commented Aug 27, 2024

Report

Whenever I delete some backup the finalizer/xbcloud performs the deletion within my s3-bucket (local minio-instance).
But the checksum file persists and therefore gets stale.

More about the problem

As said, when deleting backups there is still the checksum file on storage. It simply sits there and eats up space. When doing lots of backups (let's say an hourly backup, rotating over 24hrs and overwriting the different targets for a month you got 24 Backups - and about 720 .md5-Files. In my test-case I got 16kb each time so this alone is about 11MByte...)

Steps to reproduce

  1. create a ps-backup
  2. delete it after successful creation
  3. check your s3-bucket to see the .md5-object still residing there

Versions

  1. Kubernetes 1.27.11+k3s1
  2. Operator 0.8.0
  3. Database mysql-8.0.35 - xtrabackup-8.0.35

Anything else?

Is that an issue of the operator or of xtrabackups' xbcloud utility?

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