Page MenuHomePhabricator

[services] Backup - mind empty attachment holders
ClosedPublic

Authored by karol on Mar 31 2022, 6:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 3:34 PM
Unknown Object (File)
Fri, Dec 20, 3:34 PM
Unknown Object (File)
Fri, Dec 20, 3:34 PM
Unknown Object (File)
Fri, Dec 20, 3:34 PM
Unknown Object (File)
Fri, Dec 20, 3:34 PM
Unknown Object (File)
Fri, Dec 20, 3:31 PM
Unknown Object (File)
Fri, Dec 20, 1:05 AM
Unknown Object (File)
Wed, Dec 4, 7:14 AM

Details

Summary

Depends on D3583

Use assignItemFromDatabaseUserIDCreatedIndex method introduced in the previous diff in the DatabaseManager.

Test Plan
cd services
yarn run-backup-service

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek added inline comments.
services/backup/docker-server/contents/server/src/DatabaseManager.cpp
106–109 ↗(On Diff #10881)

If assignItemFromDatabaseUserIDCreatedIndex is really needed, then it makes sense. But we should clarify in D3584 if that's the case

132–136 ↗(On Diff #10881)

This change seem to be unrelated - it makes sense but shouldn't be a part of the diff where we use index in DatabaseManager

This revision is now accepted and ready to land.Apr 6 2022, 11:56 PM
karol retitled this revision from [services] Backup - use index in DatabaseManager to [services] Backup - mind empty attachment holders.
This revision is now accepted and ready to land.Apr 8 2022, 1:04 AM