Actions
Issue #7781
closedIn case of any issues in the middle of pre-migration, migration re-run doesn't pick up all the needed content.
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 88
Quarter:
Description
If I cancel a task at pre-migration stage or if there is a failure at pre-migration time, the next migration re-run won't continue properly. It will skip content based on its last_updated timestamp.
We need to pre-migrate content ordered by last_updated date to avoid this.
Related issues
Actions
Taught content pre_migration to use consistent ordering.
This allows retries after migration-failures to pick up from failure-points consistently.
NOTE: In the presence of large migrations, this code requires the index from https://github.com/pulp/pulp/pull/4011 to exist in Pulp2, or the migration is likely to fail at the order-by point.
fixes #7781