Page MenuHomePhabricator

[blob-service] Implement holder management with new db
ClosedPublic

Authored by bartek on Jul 9 2023, 2:06 PM.
Tags
None
Referenced Files
F3367485: D8456.diff
Mon, Nov 25, 2:55 PM
Unknown Object (File)
Sat, Nov 23, 12:49 PM
Unknown Object (File)
Sat, Nov 23, 2:15 AM
Unknown Object (File)
Fri, Nov 22, 3:42 PM
Unknown Object (File)
Fri, Nov 22, 3:31 PM
Unknown Object (File)
Fri, Nov 22, 3:06 PM
Unknown Object (File)
Fri, Nov 22, 9:58 AM
Unknown Object (File)
Mon, Nov 18, 2:08 PM
Subscribers

Details

Summary

Part of ENG-4269.

Mostly copied logic from http::handlers::blob::assign_holder_handler and http::handlers::blob::remove_holder_handler - but now with using the new database methods

Partially addresses the TODO from http::handlers::blob::remove_holder_handler - auto deletion of orphaned blobs can now be disabled

Depends on D8455.

Test Plan

Tested later in the stack

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Jul 10 2023, 12:44 AM

rust LGTM, would like for someone else to take a look

This revision is now accepted and ready to land.Jul 17 2023, 3:30 AM