Page MenuHomePhabricator

[services] Backup - Blob Get Client - Refactor put write
ClosedPublic

Authored by karol on Sep 9 2022, 4:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 2:11 PM
Unknown Object (File)
Tue, Nov 12, 12:36 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Fri, Nov 8, 3:27 AM
Unknown Object (File)
Fri, Nov 1, 6:25 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM

Details

Summary

Depends on D5093

Linear task: https://linear.app/comm/issue/ENG-1734/improve-error-handling-system-in-the-blob-client

Using a new way of error handling in the write method of the put client.

Test Plan
cd services/backup/blob_client
cargo check

after running localstack, blob and backup (in this particular order), this still works:

yarn run-performance-tests backup

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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

It's great to see the function simplified by a lot!

services/backup/blob_client/src/put_client.rs
244 ↗(On Diff #16546)
This revision was landed with ongoing or failed builds.Sep 19 2022, 7:28 AM
This revision was automatically updated to reflect the committed changes.