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)
Wed, May 1, 2:46 PM
Unknown Object (File)
Apr 2 2024, 5:48 PM
Unknown Object (File)
Apr 2 2024, 12:49 AM
Unknown Object (File)
Apr 2 2024, 12:18 AM
Unknown Object (File)
Apr 2 2024, 12:18 AM
Unknown Object (File)
Apr 2 2024, 12:18 AM
Unknown Object (File)
Apr 2 2024, 12:18 AM
Unknown Object (File)
Apr 2 2024, 12:17 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
Lint Not Applicable
Unit
Tests Not Applicable

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