Page MenuHomePhabricator

[services] Backup - Blob Get Client - Refactor get initialize
ClosedPublic

Authored by karol on Sep 9 2022, 4:43 AM.
Tags
None
Referenced Files
F3365017: D5092.diff
Mon, Nov 25, 6:20 AM
Unknown Object (File)
Fri, Nov 22, 8:42 AM
Unknown Object (File)
Fri, Nov 22, 8:25 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Sun, Nov 3, 1:44 AM
Unknown Object (File)
Sat, Nov 2, 3:54 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM

Details

Summary

Depends on D5091

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 initialize method of the get 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 12 2022, 9:42 AM
In D5092#149343, @jon wrote:

better

What do you mean by just saying "better" with no previous context?

Please update the Result type

services/backup/blob_client/src/get_client.rs
52–54 ↗(On Diff #16573)

You can use ensure

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.