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
F2831561: D9509.id32277.diff
Sat, Sep 28, 12:24 AM
F2831560: D9509.id32075.diff
Sat, Sep 28, 12:24 AM
F2831534: D9509.id.diff
Sat, Sep 28, 12:23 AM
F2831512: D9509.diff
Sat, Sep 28, 12:18 AM
Unknown Object (File)
Fri, Sep 20, 8:09 AM
Unknown Object (File)
Wed, Sep 18, 8:05 AM
Unknown Object (File)
Aug 27 2024, 1:40 PM
Unknown Object (File)
Aug 27 2024, 1:32 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