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)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Tue, Nov 5, 4:48 PM
Unknown Object (File)
Tue, Nov 5, 4:48 PM
Unknown Object (File)
Tue, Nov 5, 4:48 PM
Unknown Object (File)
Tue, Nov 5, 4:48 PM
Unknown Object (File)
Tue, Nov 5, 4:47 PM
Unknown Object (File)
Tue, Nov 5, 4:43 PM
Unknown Object (File)
Wed, Oct 23, 2:10 AM
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