Page MenuHomePhabricator

[services] Backup - pull backup reactor - initialize get reactor
ClosedPublic

Authored by karol on Apr 6 2022, 7:38 AM.
Tags
None
Referenced Files
F3377988: D3633.id11179.diff
Wed, Nov 27, 8:31 AM
F3377591: D3633.diff
Wed, Nov 27, 6:32 AM
F3377509: D3633.diff
Wed, Nov 27, 6:07 AM
Unknown Object (File)
Sat, Nov 23, 3:06 PM
Unknown Object (File)
Sat, Nov 23, 2:31 PM
Unknown Object (File)
Fri, Nov 22, 1:53 AM
Unknown Object (File)
Sat, Nov 16, 7:53 AM
Unknown Object (File)
Tue, Nov 5, 5:28 PM

Details

Summary

Depends on D3632

Adding basic structure for PullBackupReactor as well as the logic for initializeGetReactor.

Test Plan

The same as in D3535

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol edited the summary of this revision. (Show Details)

rebase

tomek requested changes to this revision.Apr 8 2022, 2:55 AM
tomek added inline comments.
services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
15 ↗(On Diff #11179)

Are we using this? Please make sure that the imports are relevant

57 ↗(On Diff #11179)

Let's include more details - describe what is missing

67–69 ↗(On Diff #11179)

What's the purpose of this function? It is not implemented and not used in this diff.

This revision now requires changes to proceed.Apr 8 2022, 2:55 AM
services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
15 ↗(On Diff #11179)

This can be removed

57 ↗(On Diff #11179)

sure

67–69 ↗(On Diff #11179)

It is used from the parent class, this is a virtual method that is being called once when the object is initialized. You're right, there's no body of this function and it will throw. We may introduce it in a later diff.

update

services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
67–69 ↗(On Diff #11179)

Ok I'm getting linker errors without this, I don't think it matters that much to spend more time on this, the body of this function is added in the next diff in this stack.

This revision is now accepted and ready to land.Apr 12 2022, 9:13 AM
services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
30–32

What's the reason for using shared_ptr for all of these? It seems unnecessary...