Project

General

Profile

Bug #25981

Manifest upload task takes too much time

Added by Justin Sherrill 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

3: Actions::Candlepin::Owner::Import (success) [ 13.29s / 13.29s ]
5: Actions::Candlepin::Owner::ImportProducts (success) [ 193.50s / 193.50s ]

Steps to Reproduce:
1. get a manifest (will attach it)
2. try to import it.
3. normally, the import finishes under a minute

Actual results:
3-5 minute upload time

Expected results:
<1 minute upload time


Related issues

Related to Katello - Bug #26412: manifest upload duplicate key value violates unique constraintClosed
Related to Katello - Bug #26535: Katello::Content uses removed Katello::Glue::Candlepin::Product.import_product_contentClosed

Associated revisions

Revision 74506f5b (diff)
Added by Justin Sherrill 7 months ago

Fixes #25981 - use bulk inserts for content importing

to speed up manifest import/refresh

Revision 6720091c (diff)
Added by Justin Sherrill 7 months ago

Fixes #25981 - use AR query for duplicates

History

#1 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/Katello/katello/pull/7963 added

#2 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing

#3 Updated by Justin Sherrill 7 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0
  • Subject changed from Manifest upload task takes too much time to Manifest upload task takes too much time

#4 Updated by Justin Sherrill 7 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Justin Sherrill 6 months ago

  • Related to Bug #26412: manifest upload duplicate key value violates unique constraint added

#6 Updated by Evgeni Golov 6 months ago

  • Related to Bug #26535: Katello::Content uses removed Katello::Glue::Candlepin::Product.import_product_content added

#7 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/Katello/katello/pull/8096 added

Also available in: Atom PDF