Page MenuHomePhabricator

[services] Backup - return error when inner client reactor fails
ClosedPublic

Authored by karol on Apr 13 2022, 7:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 17, 1:28 AM
Unknown Object (File)
Sat, Feb 8, 4:09 PM
Unknown Object (File)
Sat, Feb 8, 4:09 PM
Unknown Object (File)
Sat, Feb 8, 10:40 AM
Unknown Object (File)
Thu, Feb 6, 11:30 AM
Unknown Object (File)
Thu, Feb 6, 11:30 AM
Unknown Object (File)
Sat, Feb 1, 10:30 PM
Unknown Object (File)
Fri, Jan 31, 4:06 PM

Details

Summary

Depends on D3804

We need to propagate =errors from the client reactors that are spawned in the server reactors.

Test Plan

The same as in D3535 but this time perform actions from the gRPC client without starting a blob service and see that the client receives proper errors indicating that there's a connection problem.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

karol edited the test plan for this revision. (Show Details)
karol added a reviewer: tomek.
services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h
117 ↗(On Diff #11420)

We only want to wait until the client is still working, if it is done, there is no point.

services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h
112–118 ↗(On Diff #11420)
services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
192–198 ↗(On Diff #11420)

Same feedback

tomek requested changes to this revision.Apr 21 2022, 1:15 AM

As @ashoat suggested: please reduce the indentation

This revision now requires changes to proceed.Apr 21 2022, 1:15 AM
karol edited the summary of this revision. (Show Details)

reduce indents

This revision is now accepted and ready to land.Apr 21 2022, 8:22 AM