Project

Profile

Help

Issue #6186

closed

Mutable content that has changed since the last migration run is not migrated

Added by ipanova@redhat.com about 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
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.

  1. add to the migrator pulp2 mutable content types
  2. 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
  3. The immutable content will use bulk_create
  4. 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
  5. Flip the is_migrated flag to False on all the repos that contain the updated mutable content
Actions #1

Updated by ipanova@redhat.com about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Sprint set to Sprint 66
Actions #2

Updated by ttereshc about 4 years ago

  • Groomed changed from No to Yes
Actions #3

Updated by rchan about 4 years ago

  • Sprint changed from Sprint 66 to Sprint 67
Actions #4

Updated by ipanova@redhat.com about 4 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by ipanova@redhat.com about 4 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by ttereshc about 4 years ago

  • Sprint/Milestone set to 0.1.0
Actions #9

Updated by ttereshc about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF