Bug #11447
closedFetching product or repo list using sync plans with large number of tasks takes minutes
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1253802
Description of problem:
Customer has 5 products enabled with: 46, 5, 2, 2 & 2 repositories in each one. All 5 products are in the same sync plan. There are also 141916 tasks in the ForemanTask::Task table and 549906 locks in the lock table.
Loading the products page takes about 10 minutes. Loading the repositories page for a product takes ~5 minutes
Version-Release number of selected component (if applicable):
6.1.1
How reproducible:
Always
Steps to Reproduce:
1. Populate a satellite with the above stats
2. Visit the products list and the repo list for a product
Actual results:
takes minutes to load
Expected results:
Loads fairly quickly
Additional info:
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5435 added
- Pull request deleted (
)
Updated by Justin Sherrill over 9 years ago
- Assignee set to Justin Sherrill
- Translation missing: en.field_release set to 77
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by Justin Sherrill over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|c320d524d7035a64a259f5bc58655dca82607740.