Skip to content

Commit

Permalink
Add note about additional cause of orphaned asset blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Nov 6, 2023
1 parent 5f1301a commit 23c55ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/design/garbage-collection-uploads-asset-blobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ If the user cancels a multipart upload partway through, or completes the multipa

In this case, assume that the user properly completes the multipart upload flow and “finalizes” the `Upload` record such that it is now an `AssetBlob`, but they do not send a request to associate the new blob with an `Asset`. That `AssetBlob` record and associated S3 object will remain in the database/bucket indefinitely.

Another potential cause of orphaned `AssetBlobs` could be `Asset` garbage collection itself. `Asset` garbage collection will be designed independently of the logic to clean up `AssetBlobs`, and running it might also result in orphaned `AssetBlobs`.

## Implementation

We will introduce a new celery-beat task that runs daily. This task will
Expand Down

0 comments on commit 23c55ad

Please sign in to comment.