Bug #25981
Manifest upload task takes too much time
Status:
Closed
Priority:
Normal
Assignee:
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
Associated revisions
Fixes #25981 - use AR query for duplicates
History
#1
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/Katello/katello/pull/7963 added
#2
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
#3
Updated by Justin Sherrill over 3 years 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 over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|74506f5b68c485412e9928bdce2b62ac7b12bb12.
#5
Updated by Justin Sherrill about 3 years ago
- Related to Bug #26412: manifest upload duplicate key value violates unique constraint added
#6
Updated by Evgeni Golov about 3 years ago
- Related to Bug #26535: Katello::Content uses removed Katello::Glue::Candlepin::Product.import_product_content added
#7
Updated by The Foreman Bot about 3 years ago
- Pull request https://github.com/Katello/katello/pull/8096 added
Fixes #25981 - use bulk inserts for content importing
to speed up manifest import/refresh