Project

Profile

Help

Task #8314

closed

Make migration no-op if there are no changes in plan and everything is migrated

Added by ttereshc over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 92
Quarter:

Description

Motivation

With improvements introduced earlier, the migration re-runs are much faster now, at he same time when no changes are made and everything is migrated, it can take a significant amount of time to re-run a migration which is supposed to be no-op. It is mostly noticeable on the large systems with many repositories in Pulp 2.

Suggested solution

  • compare the previous and current plans
  • allow pre-migration to run to check for any changes in pulp2 (not sure if there any shortcuts available there)
  • if the plan is the same and everything has been migrated, finish the task and do not proceed with content migration or repo version creation.
Actions #1

Updated by ttereshc over 3 years ago

it's not very critical if we do it later than early March'21, but it would be really good to have it done now.

Actions #3

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 91 to Sprint 92
Actions #4

Updated by ipanova@redhat.com over 3 years ago

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

Updated by ipanova@redhat.com over 3 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF