Page MenuHomePhabricator

[services] Backup - Blob Put Client - Add helper functions
ClosedPublic

Authored by karol on Sep 1 2022, 4:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 19, 1:59 PM
Unknown Object (File)
Sun, Mar 16, 12:08 AM
Unknown Object (File)
Wed, Mar 12, 4:33 AM
Unknown Object (File)
Thu, Mar 6, 4:38 PM
Unknown Object (File)
Tue, Mar 4, 5:41 PM
Unknown Object (File)
Tue, Mar 4, 5:13 AM
Unknown Object (File)
Tue, Mar 4, 5:13 AM
Unknown Object (File)
Tue, Mar 4, 5:13 AM

Details

Summary

Depends on D5005

Adding some helper function that will be used by the put client

Test Plan

backup builds

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jon requested changes to this revision.Sep 1 2022, 8:51 AM
jon added inline comments.
services/backup/blob_client/src/put_client.rs
46–63 ↗(On Diff #16166)

I'm confused as to why we need to collect then later read error messages.

We should probably just emit them as they occur, and not deal with this state management.

What's the benefit of having to separately manage error messages?

This revision now requires changes to proceed.Sep 1 2022, 8:51 AM
karol added inline comments.
services/backup/blob_client/src/put_client.rs
46–63 ↗(On Diff #16166)
tomek added inline comments.
services/backup/blob_client/src/put_client.rs
35–44 ↗(On Diff #16166)

We can simplify this

services/backup/blob_client/src/put_client.rs
35–44 ↗(On Diff #16166)

ok

This revision is now accepted and ready to land.Sep 7 2022, 10:38 AM