Page MenuHomePhabricator

[services] Backup - Add client reactor base classes - read reactor
ClosedPublic

Authored by karol on Mar 24 2022, 1:51 AM.
Tags
None
Referenced Files
F3536260: D3514.id10891.diff
Wed, Dec 25, 6:01 PM
F3536220: D3514.id10748.diff
Wed, Dec 25, 5:49 PM
F3531171: D3514.diff
Wed, Dec 25, 6:36 AM
Unknown Object (File)
Sat, Dec 21, 10:59 AM
Unknown Object (File)
Fri, Dec 20, 8:05 PM
Unknown Object (File)
Fri, Dec 20, 8:05 PM
Unknown Object (File)
Fri, Dec 20, 8:05 PM
Unknown Object (File)
Fri, Dec 20, 8:05 PM

Details

Summary

Depends on D3465

Adding client base classes for reactors - read reactor

Test Plan
cd services
yarn run-backup-service

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

karol retitled this revision from [services] Backup - Add client reactor base classes - read reactor to [draft] [services] Backup - Add client reactor base classes - read reactor.Mar 24 2022, 2:47 AM
tomek added inline comments.
services/backup/docker-server/contents/server/src/Reactors/client/base-reactors/ClientReadReactorBase.h
3

Do we need this?

This revision is now accepted and ready to land.Mar 24 2022, 6:15 AM
services/backup/docker-server/contents/server/src/Reactors/client/base-reactors/ClientReadReactorBase.h
3

No

karol retitled this revision from [draft] [services] Backup - Add client reactor base classes - read reactor to [services] Backup - Add client reactor base classes - read reactor.

It is accepted as a draft so I removed the draft label and I'm requesting changes once again to keep the appropriate order of events.

tomek added inline comments.
services/backup/docker-server/contents/server/src/Reactors/client/base-reactors/ClientReadReactorBase.h
37–38 ↗(On Diff #10682)

We should include some info about the context, e.g. which reactor logged it

This revision is now accepted and ready to land.Mar 28 2022, 9:45 AM
services/backup/docker-server/contents/server/src/Reactors/client/base-reactors/ClientReadReactorBase.h
46 ↗(On Diff #10682)

Do we need to make sure that this is called exactly once?

services/backup/docker-server/contents/server/src/Reactors/client/base-reactors/ClientReadReactorBase.h
37–38 ↗(On Diff #10682)

logs like this will be removed. If we need to log at the end of the connection, we can always override doneCallback.

46 ↗(On Diff #10682)

I think so... I didn't find anything in the code that would lead to such reasoning but I intentionally called it twice and received a crash. Thanks!

start call only once, removed log