Page MenuHomePhabricator

[services] Backup - Apply reading user id in the reactors
ClosedPublic

Authored by karol on Mar 29 2022, 4:38 AM.
Tags
None
Referenced Files
F3392636: D3531.id11007.diff
Sat, Nov 30, 9:33 AM
Unknown Object (File)
Sun, Nov 24, 9:23 AM
Unknown Object (File)
Fri, Nov 15, 11:25 PM
Unknown Object (File)
Fri, Nov 15, 4:26 AM
Unknown Object (File)
Tue, Nov 5, 6:05 PM
Unknown Object (File)
Oct 13 2024, 4:35 PM
Unknown Object (File)
Oct 13 2024, 4:35 PM
Unknown Object (File)
Oct 13 2024, 4:35 PM

Details

Summary

Depends on D3530

In the previous diff, I added a user id for every request where it was missing. Now, we want to read it when creating a new backup and sending a log.

Test Plan
cd services
yarn run-backup-service

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 reviewers: tomek, max, varun, jim.
karol edited the summary of this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.Mar 29 2022, 4:53 AM
Harbormaster failed remote builds in B7668: Diff 10764!
tomek requested changes to this revision.Mar 31 2022, 9:46 AM
tomek added inline comments.
services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
38

This can be removed

48–54

This code should be introduced before this diff. Is it a mistake due to rebasing?

This revision now requires changes to proceed.Mar 31 2022, 9:46 AM

strip added code(adding it in the next diff), remove comment

services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
38

right

48–54

Uhm, maybe...
Added in D3612

This revision is now accepted and ready to land.Apr 5 2022, 9:20 AM
services/backup/docker-server/contents/server/src/Reactors/server/CreateNewBackupReactor.h
67 ↗(On Diff #11147)

I still find it weird that we have a separate trip for each field. I know we have a task out for this but would be great to prioritize it