Page MenuHomePhabricator

[services] Backup - add Database Entities Tools
ClosedPublic

Authored by karol on Feb 3 2022, 6:48 AM.
Tags
None
Referenced Files
F3535631: D3081.id9438.diff
Wed, Dec 25, 4:42 PM
F3535622: D3081.id9211.diff
Wed, Dec 25, 4:39 PM
F3535604: D3081.id9364.diff
Wed, Dec 25, 4:27 PM
F3531033: D3081.diff
Wed, Dec 25, 5:34 AM
Unknown Object (File)
Fri, Dec 20, 7:06 PM
Unknown Object (File)
Fri, Dec 20, 7:06 PM
Unknown Object (File)
Fri, Dec 20, 7:06 PM
Unknown Object (File)
Fri, Dec 20, 7:06 PM

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