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
Unknown Object (File)
Thu, Jul 4, 4:51 AM
Unknown Object (File)
Sun, Jun 30, 10:38 AM
Unknown Object (File)
Sun, Jun 30, 10:38 AM
Unknown Object (File)
Sun, Jun 30, 10:38 AM
Unknown Object (File)
Sun, Jun 30, 10:38 AM
Unknown Object (File)
Sun, Jun 30, 10:37 AM
Unknown Object (File)
Sun, Jun 30, 10:34 AM
Unknown Object (File)
Sat, Jun 29, 5:15 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...