Project

Profile

Help

Refactor #2320

closed

Pulp - Refactor #2116: Migrate mongo collections to postgres tables.

Migrate lazy_content_catalog to the downloadcatalog table.

Added by bizhang about 8 years ago. Updated over 4 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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 downloadsCLOSED - CURRENTRELEASEbizhang

Actions
Actions #1

Updated by bizhang about 8 years ago

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

Updated by jortel@redhat.com about 8 years ago

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

Actions #3

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #4

Updated by ttereshc over 4 years ago

  • Project changed from Pulp to Migration Plugin
  • Status changed from NEW to CLOSED - DUPLICATE

Done as a part of the initial migration plugin release.

Also available in: Atom PDF