Page MenuHomePhabricator

[backup-service] use `username` instead of `userID` when downloading backup
ClosedPublic

Authored by kamil on Oct 29 2024, 9:07 AM.
Tags
None
Referenced Files
F3654067: D13807.id45454.diff
Sun, Jan 5, 9:57 AM
F3649052: D13807.diff
Sun, Jan 5, 4:19 AM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Subscribers

Details

Summary

ENG-6145.

Updating places where we had hardcoded userID

Depends on D13817

Test Plan

run commtest

Diff Detail

Repository
rCOMM Comm
Branch
backup-work
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Oct 30 2024, 9:28 AM
varun added inline comments.
services/commtest/tests/backup_integration_test.rs
78 ↗(On Diff #45456)
80 ↗(On Diff #45456)
83 ↗(On Diff #45456)
services/commtest/tests/backup_performance_test.rs
91 ↗(On Diff #45456)

just curious, what do we use this descriptor for?

This revision is now accepted and ready to land.Nov 1 2024, 2:14 PM
bartek added inline comments.
services/commtest/tests/backup_performance_test.rs
91 ↗(On Diff #45456)

we use it to determine what kind of backup we want to perform action on. It can be either:

  • Latest backup for given user
  • Backup with specific ID