Project

Profile

Help

Task #1815

Task #1601: Migrate /var/lib/pulp/content to new 2.8 storage paths.

Create a common 2.8 storage path migration to be used by plugins

Added by jortel@redhat.com over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.8.3
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 1
Quarter:

Description

Create a common migration that is used by plugin migrations to migrate content units to the new 2.8 standard storage path.

This approach ensures the migration algorithm is:
- Consistent
- Idempotent (can be resumed)
- Tested
- Memory efficient
- Good performance

The plugin needs to define a migration because it has knowledge of the model.

The plugin knows:
- The collection name.
- The unit keys (needed to calculate the path)
- Whether the storage path is to a directory or individual file.

So, each plugin will define a migration for its content types but all of the heavy lifting is done in the common migration supplied by the platform.

Associated revisions

Revision b6cb0812 View on GitHub
Added by jortel@redhat.com over 4 years ago

Support standard storage path migration used by plugins. closes #1815

Revision b6cb0812 View on GitHub
Added by jortel@redhat.com over 4 years ago

Support standard storage path migration used by plugins. closes #1815

History

#1 Updated by jortel@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST

#3 Updated by jortel@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#4 Updated by semyers over 4 years ago

  • Platform Release set to 2.8.3

#5 Updated by semyers over 4 years ago

  • Status changed from MODIFIED to 5

#6 Updated by semyers over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#7 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 1

#8 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (19)

#9 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF