Actions
Issue #6186
closedMutable content that has changed since the last migration run is not migrated
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 67
Quarter:
Description
Docker Tag and Erratum are mutable types in pulp2.
- add to the migrator pulp2 mutable content types
- in pre-migration step, before saving Pulp2Content, filter out content that is mutable https://github.com/pulp/pulp-2to3-migration/blob/master/pulp_2to3_migration/app/pre_migration.py#L133
- The immutable content will use bulk_create
- Mutable content will be processed one by one and checked for incoming last_updated versus the one we have saved. Based on this the existing Pulp2Content with whether be deleted and created a new one or we'll catch and pass the integrity error
- Flip the is_migrated flag to False on all the repos that contain the updated mutable content
Actions
Migrate mutable content.
closes #6186 https://pulp.plan.io/issues/6186