Page MenuHomePhabricator

[blob] Use new blob-exists check in single endpoint
ClosedPublic

Authored by bartek on Sep 26 2024, 12:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 4:18 PM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 1, 4:22 PM
Unknown Object (File)
Fri, Nov 1, 6:21 AM
Unknown Object (File)
Fri, Nov 1, 6:20 AM
Unknown Object (File)
Fri, Nov 1, 6:00 AM
Unknown Object (File)
Fri, Nov 1, 5:35 AM
Subscribers

Details

Summary

Despite D13481, multiple GetItem DDB calls were still happening inside service.assign_holder(). Removed that call there and updated single endpoint to use the new way.

Updated single assign-holder endpoint to use the new batch function.

Depends on D13481

Test Plan
  • Made sure data_exists has still correct value for the POST /blob endpoint
  • Blob integration tests

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage