Page MenuHomePhabricator

[comm-lib] Add remove_multiple_holders to Blob client
ClosedPublic

Authored by bartek on Oct 9 2024, 1:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 10:53 AM
Unknown Object (File)
Thu, Dec 19, 10:53 AM
Unknown Object (File)
Thu, Dec 19, 10:53 AM
Unknown Object (File)
Thu, Dec 19, 10:53 AM
Unknown Object (File)
Fri, Nov 29, 6:14 AM
Unknown Object (File)
Fri, Nov 29, 1:10 AM
Unknown Object (File)
Thu, Nov 28, 11:11 PM
Unknown Object (File)
Thu, Nov 28, 8:58 PM
Subscribers

Details

Summary

We're missing functions for batch holders endpoints in BlobServiceClient.
Started with the one that's needed for server-side holder cleanup

Depends on D13617

Test Plan
  1. Started Blob service. Created a few holders.
  2. Created a dummy test that calls this function.
  3. Ran cargo test and verified that these holders were now removed from DDB

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.Oct 9 2024, 1:55 AM
kamil added inline comments.
shared/comm-lib/src/blob/client.rs
263 ↗(On Diff #44994)

given the name for single edpoint, shouldn't this be revoke_multiple_holders?

This revision is now accepted and ready to land.Oct 10 2024, 2:02 AM
shared/comm-lib/src/blob/client.rs
263 ↗(On Diff #44994)

It seems like this feedback wasn't addressed