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, Nov 14, 9:58 PM
Unknown Object (File)
Thu, Nov 14, 3:59 PM
Unknown Object (File)
Thu, Nov 14, 12:58 PM
Unknown Object (File)
Thu, Nov 14, 12:53 PM
Unknown Object (File)
Sat, Nov 9, 3:56 AM
Unknown Object (File)
Sat, Nov 9, 2:23 AM
Unknown Object (File)
Fri, Nov 8, 10:12 AM
Unknown Object (File)
Fri, Nov 8, 9:21 AM
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