Page MenuHomePhabricator

[services-lib][blob-client] Revoke holder after upload failure
ClosedPublic

Authored by bartek on Aug 23 2023, 7:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 7:26 AM
Unknown Object (File)
Thu, Nov 21, 7:26 AM
Unknown Object (File)
Thu, Nov 21, 7:26 AM
Unknown Object (File)
Thu, Nov 21, 7:26 AM
Unknown Object (File)
Thu, Nov 21, 7:23 AM
Unknown Object (File)
Fri, Nov 15, 2:32 AM
Unknown Object (File)
Fri, Nov 8, 4:05 AM
Unknown Object (File)
Oct 22 2024, 1:01 PM
Subscribers

Details

Summary

Our upload process is two-step. If the second step fails, we should revert the first step.
We want to revoke the holder (revert 1st step) after a failure to upload a blob (2nd step).

Test Plan

Artifically failed upload. Ensured that holder isn't there.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michal added inline comments.
services/comm-services-lib/src/blob/client.rs
309 ↗(On Diff #30259)

Nit :P

This revision is now accepted and ready to land.Aug 23 2023, 10:48 PM

Fix typo, rebase on master, fix cargo dependencies