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)
Sun, Oct 20, 8:31 PM
Unknown Object (File)
Sun, Oct 20, 6:41 PM
Unknown Object (File)
Wed, Oct 16, 4:33 PM
Unknown Object (File)
Sun, Oct 13, 4:17 PM
Unknown Object (File)
Sun, Oct 13, 4:17 PM
Unknown Object (File)
Sun, Oct 13, 4:17 PM
Unknown Object (File)
Sun, Oct 13, 4:17 PM
Unknown Object (File)
Sun, Oct 13, 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
Lint Not Applicable
Unit
Tests Not Applicable

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