Project

Profile

Help

Task #1815

closed

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 8 years ago. Updated over 5 years 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.

Actions #1

Updated by jortel@redhat.com over 8 years ago

  • Status changed from ASSIGNED to POST

Added by jortel@redhat.com over 8 years ago

Revision b6cb0812 | View on GitHub

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

Added by jortel@redhat.com over 8 years ago

Revision b6cb0812 | View on GitHub

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

Actions #3

Updated by jortel@redhat.com over 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by semyers over 8 years ago

  • Platform Release set to 2.8.3
Actions #5

Updated by semyers over 8 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by semyers over 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #7

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 1
Actions #8

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (19)
Actions #9

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF