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
F3383161: D5006.diff
Thu, Nov 28, 1:59 PM
Unknown Object (File)
Mon, Nov 25, 12:49 AM
Unknown Object (File)
Sun, Nov 24, 11:40 PM
Unknown Object (File)
Wed, Nov 20, 11:51 AM
Unknown Object (File)
Sat, Nov 16, 4:32 PM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Thu, Nov 7, 3:41 AM
Unknown Object (File)
Oct 27 2024, 8:11 PM

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
No Lint Coverage
Unit
No Test Coverage

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