Page MenuHomePhabricator

[services] Backup - Use Blob client in c++ - Implement send log
ClosedPublic

Authored by karol on Sep 1 2022, 4:10 AM.
Tags
None
Referenced Files
F3343153: D5019.diff
Fri, Nov 22, 2:41 AM
Unknown Object (File)
Tue, Nov 12, 7:54 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Sun, Nov 3, 10:52 AM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM
Unknown Object (File)
Sun, Oct 27, 8:12 PM

Details

Summary

Depends on D5018

Adding c++ implementation for using the blob client in the backup reactor for sending logs.

Test Plan

backup builds

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested changes to this revision.Sep 5 2022, 7:14 AM

Why do we call put_client_blocking_read_cxx a couple of times?

services/backup/src/Reactors/server/SendLogReactor.cpp
120–150 ↗(On Diff #16247)

Is this approach correct according to gRPC recommendation? This might take long and is called from a reactor - but we probably should return as soon as possible from these.

This revision now requires changes to proceed.Sep 5 2022, 7:14 AM
In D5019#146919, @tomek wrote:

Why do we call put_client_blocking_read_cxx a couple of times?

Explained in https://phab.comm.dev/D5017#147269

services/backup/src/Reactors/server/SendLogReactor.cpp
120–150 ↗(On Diff #16247)

This is a part of this task, I intentionally left it to fix later https://linear.app/comm/issue/ENG-1724/solve-the-problem-with-blocked-reactors-in-grpc

This revision is now accepted and ready to land.Sep 7 2022, 5:30 AM
This revision was landed with ongoing or failed builds.Sep 8 2022, 4:10 AM
This revision was automatically updated to reflect the committed changes.