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
F3656803: D9509.diff
Sun, Jan 5, 1:09 PM
Unknown Object (File)
Fri, Jan 3, 1:01 PM
Unknown Object (File)
Sun, Dec 22, 11:41 PM
Unknown Object (File)
Sat, Dec 14, 10:28 PM
Unknown Object (File)
Sat, Dec 14, 10:28 PM
Unknown Object (File)
Sat, Dec 14, 10:26 PM
Unknown Object (File)
Sat, Dec 14, 10:08 PM
Unknown Object (File)
Dec 1 2024, 3:18 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
No Lint Coverage
Unit
No Test Coverage