Project

Profile

Help

Refactor #2320

Refactor #2116: Migrate mongo collections to postgres tables.

Migrate lazy_content_catalog to the downloadcatalog table.

Added by bizhang about 3 years ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Complexity:
Verified:
No
Verification Required:
No
Sprint:

Description

lazy_content_catalog => downloadcatalog
=> id (generated)
importer_id => importer (Foreign Key to Importer)
url => url
=> artifact (Foreign Key to Artifact [0])
path => (omitted, stored in artifact)
unit_id => (omitted, stored in artifact as content)
checksum => (omitted, stored in artifact)
unit_type_id => (omitted [1])
checksum_algorithm => (omitted)
revision => (omitted)
data => (omitted)

[0] The Artifact Foreign Key can computed from the path and the unit_id in the lazy_content_catalog. unit_id maps to a content (Foreign Key to Content. downloadcatalog is has a unique constraint on its content and relative_path

[1] unit_type_id can be found via the content Foreign Key in the artifact


Related issues

Related to Pulp - Refactor #2088: create django models for lazy catalog and deferred downloads MODIFIED Actions

History

#1 Updated by bizhang about 3 years ago

  • Related to Refactor #2088: create django models for lazy catalog and deferred downloads added

#2 Updated by jortel@redhat.com about 3 years ago

Looks really good. Probably don't need the => since you used the spiffy table formatting.

#3 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF