Page MenuHomePhabricator

[services] Blob - Add server base reactor classes - read reactor
ClosedPublic

Authored by karol on Mar 24 2022, 1:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 1:26 PM
Unknown Object (File)
Sun, Jun 30, 1:26 PM
Unknown Object (File)
Sun, Jun 30, 1:26 PM
Unknown Object (File)
Sun, Jun 30, 1:26 PM
Unknown Object (File)
Sun, Jun 30, 1:23 PM
Unknown Object (File)
Sun, Jun 30, 6:58 AM
Unknown Object (File)
Mon, Jun 24, 10:30 PM
Unknown Object (File)
Sat, Jun 22, 2:47 PM

Details

Summary

Depends on D3469

Add base reactor classes for the server to the blob service so it can use the async API

COPIED FROM services/backup/docker-server/contents/server/src/Reactors/server/base-reactors/ServerReadReactorBase.h

Test Plan
cd services
yarn run-backup-service

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol retitled this revision from [services] Blob - Add server base reactor classes - read reactor to [draft] [services] Blob - Add server base reactor classes - read reactor.Mar 24 2022, 2:47 AM

Accepting as this is just a copy

This revision is now accepted and ready to land.Mar 24 2022, 8:27 AM

Is the intention to later modify ServerReadReactorBase.h, so it's no longer a copy? I figured that was the plan, but I couldn't find any later diff in the stack that modifies it. If it's meant to be the exact same file in the long-term, then it would be great to avoid copy-pasting and find some way to share the code.

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.

In D3519#95714, @ashoat wrote:

Is the intention to later modify ServerReadReactorBase.h, so it's no longer a copy? I figured that was the plan, but I couldn't find any later diff in the stack that modifies it. If it's meant to be the exact same file in the long-term, then it would be great to avoid copy-pasting and find some way to share the code.

We can always prioritize https://linear.app/comm/issue/ENG-324/avoid-repetitions-in-services-code

karol retitled this revision from [draft] [services] Blob - Add server base reactor classes - read reactor to [services] Blob - Add server base reactor classes - read reactor.Mar 25 2022, 8:31 AM
This revision is now accepted and ready to land.Mar 30 2022, 4:06 AM