Page MenuHomePhabricator

[services] Backup - mind empty attachment holders
ClosedPublic

Authored by karol on Mar 31 2022, 6:32 AM.
Tags
None
Referenced Files
F3348162: D3585.diff
Fri, Nov 22, 1:59 PM
Unknown Object (File)
Tue, Nov 5, 5:55 PM
Unknown Object (File)
Oct 20 2024, 8:31 PM
Unknown Object (File)
Oct 20 2024, 6:41 PM
Unknown Object (File)
Oct 16 2024, 4:33 PM
Unknown Object (File)
Oct 13 2024, 4:17 PM
Unknown Object (File)
Oct 13 2024, 4:17 PM
Unknown Object (File)
Oct 13 2024, 4:17 PM

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