Project

Profile

Help

Story #2575

As a user, I don't have to wait for migration 0020_nested_drpm_directory if there are no DRPMs

Added by mhrivnak almost 5 years ago. Updated almost 3 years ago.

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

https://github.com/pulp/pulp_rpm/blob/pulp-rpm-2.12.0-1/plugins/pulp_rpm/plugins/migrations/0020_nested_drpm_directory.py

Associated revisions

Revision 9b85ad0c View on GitHub
Added by daviddavis almost 5 years ago

Skip the drpm migration if no drpms

fixes #2575 https://pulp.plan.io/issues/2575

History

#2 Updated by semyers almost 5 years ago

  • Sprint/Milestone set to 33
  • Groomed changed from No to Yes

#3 Updated by daviddavis almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#4 Updated by daviddavis almost 5 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by daviddavis almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by semyers almost 5 years ago

  • Platform Release set to 2.13.0

#8 Updated by pcreech almost 5 years ago

  • Status changed from MODIFIED to 5

#9 Updated by pcreech over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter almost 4 years ago

  • Sprint set to Sprint 15

#11 Updated by bmbouter almost 4 years ago

  • Sprint/Milestone deleted (33)

#12 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF