Page MenuHomePhabricator

[backup-client][native_rust_library] refactor uploading files to not ignore User Keys
AcceptedPublic

Authored by kamil on Thu, Nov 14, 8:31 AM.
Tags
None
Referenced Files
F3326114: D13932.diff
Wed, Nov 20, 7:07 AM
Unknown Object (File)
Tue, Nov 19, 10:14 PM
Unknown Object (File)
Sat, Nov 16, 8:09 PM
Unknown Object (File)
Sat, Nov 16, 6:16 PM
Unknown Object (File)
Sat, Nov 16, 6:16 PM
Unknown Object (File)
Sat, Nov 16, 6:15 PM
Unknown Object (File)
Sat, Nov 16, 4:22 PM
Unknown Object (File)
Sat, Nov 16, 3:39 PM
Subscribers

Details

Reviewers
bartek
tomek
Summary

ENG-9656.

Previously, it was treating User Keys as additional data and was skipping upload, because User Keys were updated together with User Data Compaction. This diff refactors code to attempt compaction upload for any backup_id for which there is User Data, User Keys, or logs (but we don't generate logs now -> next diff).

Depends on D13931

Test Plan

Tested in D13937

Diff Detail

Repository
rCOMM Comm
Branch
publish-client-backup
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Fri, Nov 15, 2:23 AM
kamil added inline comments.
native/native_rust_library/src/backup/upload_handler.rs
165–167

not sure what is better, if this should be placed here when adding to Vec, or called only once before this loop

bartek added inline comments.
native/native_rust_library/src/backup/upload_handler.rs
165–167

I'm not sure if it makes any difference, it can stay here

This revision is now accepted and ready to land.Tue, Nov 19, 5:45 AM