From 5f1301a478a471e818a916cee29bda639002b5bb Mon Sep 17 00:00:00 2001 From: Mike VanDenburgh Date: Mon, 6 Nov 2023 10:23:52 -0500 Subject: [PATCH] Add current orphaned data count --- doc/design/garbage-collection-uploads-asset-blobs.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/design/garbage-collection-uploads-asset-blobs.md b/doc/design/garbage-collection-uploads-asset-blobs.md index 25c1f8943..6325cca2e 100644 --- a/doc/design/garbage-collection-uploads-asset-blobs.md +++ b/doc/design/garbage-collection-uploads-asset-blobs.md @@ -26,3 +26,13 @@ We will introduce a new celery-beat task that runs daily. This task will In both cases, we need to delete both the blob from S3 and the row from the DB in order to avoid getting into an inconsistent state. Due to the trailing delete lifecycle rule, the actual uploaded data will remain recoverable for up to 30 days after this deletion, after which the lifecycle rule will clear it out of the bucket permanently. + +## Data + +The current amount of orphaned data in the system as of 11/6/2023 is as follows: + +Orphaned `Uploads`: 740 + +Orphaned `AssetBlobs`: 5 + +Orphaned `Assets`: 175,545