Page MenuHomePhabricator

[blob] Add CLI option to enable auto-deletion
ClosedPublic

Authored by bartek on Oct 17 2023, 5:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 20, 8:02 AM
Unknown Object (File)
Sat, Apr 19, 6:53 AM
Unknown Object (File)
Fri, Apr 18, 10:13 AM
Unknown Object (File)
Fri, Apr 18, 8:01 AM
Unknown Object (File)
Thu, Apr 17, 1:50 AM
Unknown Object (File)
Wed, Apr 9, 4:13 PM
Unknown Object (File)
Mar 17 2025, 12:17 AM
Unknown Object (File)
Mar 4 2025, 8:56 PM
Subscribers

Details

Summary

Since introduction of blob cleanup, specifically D9413, blob integration tests are broken (deletion part)
Until we have ENG-4439 implemented,
we need to have option to restore pre-cleanup behavior. This diff adds a CLI option for that.

Depends on D9508

Test Plan

Tested with aws-cli (awslocal dynamodb scan --table-name blob-service-blobs)

  • With the --instant-delete flag set, calling DELETE endpoint on last holder removes blob and holder rows from DDB
  • Without the flag, the blob item DB row is marked as unchecked.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable