Page MenuHomePhabricator

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

Authored by kamil on Tue, Oct 29, 9:07 AM.
Tags
None
Referenced Files
F3334775: D13807.diff
Thu, Nov 21, 7:54 AM
F3334602: D13807.id45453.diff
Thu, Nov 21, 7:22 AM
F3331678: D13807.diff
Wed, Nov 20, 9:02 PM
Unknown Object (File)
Wed, Nov 20, 5:47 AM
Unknown Object (File)
Sun, Nov 17, 10:34 AM
Unknown Object (File)
Sun, Nov 17, 3:40 AM
Unknown Object (File)
Sat, Nov 16, 6:23 PM
Unknown Object (File)
Sat, Nov 16, 2:33 AM
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.Wed, Oct 30, 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.Fri, Nov 1, 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