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
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:
- Idempotent (can be resumed)
- 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.
Support standard storage path migration used by plugins. closes #1815
Please register to edit this issue