Page MenuHomePhabricator

[services] Backup - add Database Entities Tools
ClosedPublic

Authored by karol on Feb 3 2022, 6:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 6:09 PM
Unknown Object (File)
Tue, Apr 23, 6:09 PM
Unknown Object (File)
Tue, Apr 23, 6:09 PM
Unknown Object (File)
Tue, Apr 23, 6:09 PM
Unknown Object (File)
Tue, Apr 23, 6:09 PM
Unknown Object (File)
Tue, Apr 23, 6:03 PM
Unknown Object (File)
Thu, Apr 18, 6:02 AM
Unknown Object (File)
Thu, Apr 18, 6:02 AM

Details

Summary

There is a "DB schema" described as in D2950 and the method for creating items by type.

Depends on D3076

Test Plan

-

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol edited the summary of this revision. (Show Details)
karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, max, varun.
tomek added inline comments.
services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h
3 ↗(On Diff #9211)

Is it created later in this stack or something from the old implementation?

27 ↗(On Diff #9211)

There are some questions regarding this in D2950, but for now this is consistent with the current state

This revision is now accepted and ready to land.Feb 4 2022, 2:46 AM
This revision now requires review to proceed.Feb 4 2022, 2:46 AM
ashoat requested changes to this revision.Feb 5 2022, 1:08 PM

Passing back to update the database structure with your new schema

This revision now requires changes to proceed.Feb 5 2022, 1:08 PM

So it's easier to land this, and so we don't block this on the architecture review, maybe you should remove the comment for now and add it back later after the architecture review is finalized?

services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h
18–19 ↗(On Diff #9364)

I think we can combine these, right? Is there any reason not to?

This revision is now accepted and ready to land.Feb 8 2022, 8:13 PM
In D3081#83141, @ashoat wrote:

So it's easier to land this, and so we don't block this on the architecture review, maybe you should remove the comment for now and add it back later after the architecture review is finalized?

We can do that

services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h
18–19 ↗(On Diff #9364)

You're right it just should be recoveryData

karol edited the summary of this revision. (Show Details)

remove db structure for now