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

Upload and AssetBlob garbage collection implementation #2087

Merged
merged 5 commits into from
Jan 27, 2025

Conversation

mvandenburgh
Copy link
Member

Implements the design outlined in #2068.

@mvandenburgh mvandenburgh marked this pull request as ready for review December 3, 2024 18:12
dandiapi/api/models/garbage_collection.py Outdated Show resolved Hide resolved
dandiapi/api/models/garbage_collection.py Outdated Show resolved Hide resolved
dandiapi/api/services/garbage_collection/__init__.py Outdated Show resolved Hide resolved
@mvandenburgh mvandenburgh force-pushed the assetblob-upload-gc branch 2 times, most recently from b3f574a to 10b3cf2 Compare December 11, 2024 19:51
@mvandenburgh mvandenburgh force-pushed the assetblob-upload-gc branch 2 times, most recently from 4fc142c to f973fde Compare January 6, 2025 16:01
@mvandenburgh mvandenburgh requested a review from jjnesbitt January 6, 2025 16:09
@mvandenburgh
Copy link
Member Author

mvandenburgh commented Jan 24, 2025

Because this is such a sensitive operation, we'll need to carefully coordinate merging/deploying of this PR. I'll mark it as draft for now so it doesn't get merged by accident.

@mvandenburgh mvandenburgh marked this pull request as draft January 24, 2025 20:24
@mvandenburgh mvandenburgh force-pushed the assetblob-upload-gc branch 2 times, most recently from 1155480 to 92785b1 Compare January 27, 2025 16:56
We'd like to run garbage collection manually for the first time, before
we start automating it.
@mvandenburgh mvandenburgh marked this pull request as ready for review January 27, 2025 18:18
@mvandenburgh
Copy link
Member Author

We discussed this offline, and decided to temporarily disable the garbage collection cron and merge this. Once we've run this manually a few times, we'll enable the automatic cron again.

@mvandenburgh mvandenburgh merged commit 9a1a8ae into master Jan 27, 2025
11 checks passed
@mvandenburgh mvandenburgh deleted the assetblob-upload-gc branch January 27, 2025 18:19
@dandibot
Copy link
Member

🚀 PR was released in v0.4.14 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants