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, Jun 30, 7:56 AM
Unknown Object (File)
Wed, Jun 26, 10:36 PM
Unknown Object (File)
Wed, Jun 26, 5:32 AM
Unknown Object (File)
Tue, Jun 25, 5:25 PM
Unknown Object (File)
Mon, Jun 24, 9:03 AM
Unknown Object (File)
Sat, Jun 22, 2:07 AM
Unknown Object (File)
Fri, Jun 21, 1:08 PM
Unknown Object (File)
Fri, Jun 21, 11:56 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
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