Skip to content

ETT-316 issues with glacier expiration job (mass_delete edition)#190

Open
moseshll wants to merge 1 commit into
mainfrom
ETT-316_mass_delete
Open

ETT-316 issues with glacier expiration job (mass_delete edition)#190
moseshll wants to merge 1 commit into
mainfrom
ETT-316_mass_delete

Conversation

@moseshll

@moseshll moseshll commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • Add a mass_delete class method to the ObjectStore and PrefixedVersions storage classes.
    • Intended to replace the delete_objects instance method.
  • Add companion object_keys instance method so these can be amassed at a higher level and removed via mass_delete.
  • BackupExpirationBatch can still take an arbitrarily large batch size, but due to s3api delete-objects limitation of 1k objects it iterates sub-batches of just under 1k. This way there's no need to mess with the job-size parameter in the parent binary.
    • Switch to a single mass_delete storage call per subbatch.

 - Add a `mass_delete` class method to the `ObjectStore` and `PrefixedVersions` storage classes.
   - Intended to replace the `delete_objects` instance method.
 - Add companion `object_keys` instance so these can be amassed at a higher level and removed via `mass_delete`.
 - `BackupExpirationBatch` can still take an arbitrarily large batch size, but due to s3api delete-objects limitation
   of 1k objects it iterates sub-batches of just under 1k. This way there's no need to mess with the job-size
   parameter in the parent binary.
   - Switch to a single `mass_delete` storage call per subbatch.
@moseshll moseshll marked this pull request as ready for review July 8, 2026 16:32
@moseshll moseshll requested a review from aelkiss July 8, 2026 16:32

@aelkiss aelkiss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a try!

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

Successfully merging this pull request may close these issues.

2 participants