Page MenuHomePhabricator

[services][backup] SendLog 1/4 - create handler module
ClosedPublic

Authored by bartek on Jan 10 2023, 8:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 6:11 PM
Unknown Object (File)
Thu, Nov 28, 11:34 AM
Unknown Object (File)
Thu, Nov 28, 4:21 AM
Unknown Object (File)
Thu, Nov 28, 4:21 AM
Unknown Object (File)
Thu, Nov 28, 4:21 AM
Unknown Object (File)
Thu, Nov 28, 4:21 AM
Unknown Object (File)
Thu, Nov 28, 4:21 AM
Unknown Object (File)
Nov 16 2024, 2:40 PM
Subscribers

Details

Summary

Created module for SendLog endpoint and added its its invocation in the grpc handler.

Depends on D6207

Test Plan

Service builds and starts. This code has no logic yet.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jan 11 2023, 1:30 PM
tomek added inline comments.
services/backup/src/service/mod.rs
122–123 ↗(On Diff #20752)

Do we have to clone database client?

This revision is now accepted and ready to land.Jan 12 2023, 7:05 AM
services/backup/src/service/mod.rs
122–123 ↗(On Diff #20752)

Good catch, a leftover from my previous implementation, where this code was unnecessarily run in a separate task

  • Removed user_id field from logs
  • Removed unnecessary clone