Skip to content

Delete old snapshots with constant memory usage #9668

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

Merged
merged 5 commits into from
Jun 9, 2025
Merged

Conversation

srh
Copy link
Member

@srh srh commented Jun 9, 2025

To be clear this uses constant memory usage for those RemoteFs implementations that actually implement the ExtendedRemoteFs paginated listing API. Right now, that is only S3.

Others like GCS still use less memory with RemoteFs::list now operating page by page.

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Copy link
Member

@waralexrom waralexrom left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@srh srh merged commit bca2362 into master Jun 9, 2025
53 checks passed
@srh srh deleted the delete-paginated branch June 9, 2025 18:50
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