Page MenuHomePhabricator

[blob-service] Require holder and blob_hash in 'remove' endpoint
ClosedPublic

Authored by bartek on Jun 30 2023, 8:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 2:52 PM
Unknown Object (File)
Sat, Nov 23, 7:13 AM
Unknown Object (File)
Sat, Nov 23, 7:13 AM
Unknown Object (File)
Sat, Nov 23, 7:13 AM
Unknown Object (File)
Sat, Nov 23, 1:51 AM
Unknown Object (File)
Sun, Nov 17, 10:32 AM
Unknown Object (File)
Sun, Nov 17, 10:32 AM
Unknown Object (File)
Sun, Nov 17, 10:32 AM
Subscribers

Details

Summary

Linear task: ENG-4268.

Made the DELETE /blob HTTP endpoint require both holder and blob_hash parameters.
Also renamed delete_blob to remove_holder because this is what this endpoint actually does. The blob is deleted when the last holder is removed.

Test Plan

Tested together with the next diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jun 30 2023, 9:18 AM
This revision is now accepted and ready to land.Jul 3 2023, 3:50 AM