Project

General

Profile

Bug #29267

file repo deletion is slow

Added by Justin Sherrill 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The repository model is setup to delete associated units very quickly via :dependent => :delete_all

However for file units, this is missing. This results in a very slow repo deletion with lots of units.

Associated revisions

Revision 155d7951 (diff)
Added by Justin Sherrill 8 months ago

Fixes #29267 - speed up repo deletions

using delete_all for large associations

History

#1 Updated by Justin Sherrill 8 months ago

  • Bugzilla link set to 1810270

#2 Updated by The Foreman Bot 8 months ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8597 added

#3 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 3.16.0 added

#4 Updated by Justin Sherrill 8 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Jonathon Turel 8 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

Also available in: Atom PDF