Actions
Story #2575
closedAs a user, I don't have to wait for migration 0020_nested_drpm_directory if there are no DRPMs
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.13.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 15
Quarter:
Description
This migration walks the entire tree of published RPM repos looking for places to fix incorrectly published DRPMs. This can take a long time, especially on latent filesystems. If the migration checked the database for DRPMs first, it could skip that expensive process for users with no DRPMs.
I suggest a check here for whether the DB contains DRPMs:
Actions
Skip the drpm migration if no drpms
fixes #2575 https://pulp.plan.io/issues/2575