Project

General

Profile

Bug #14276

available repos page under content view page does not paginate results

Added by Chris Duryee over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

If you have many products with repos and go to 'content_views/<id>/repositories/yum/available', the page will take multiple seconds to load.

It looks like one of the calls is to '/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=3&full_result=true&library=true&organization_id=3&page=1&search=0', which can take 4+ seconds with 140-ish repos enabled on a speedy physical host.

If the same call is made without full_result=true, the call is significantly faster. One idea to fix this would be to paginate the repo add page, but there may be other ways to avoid this API call or make it faster.

History

#1 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

#2 Updated by Chris Duryee over 3 years ago

  • Bugzilla link set to 1330752

#3 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) changed from 143 to 114

#4 Updated by Ido Kanner about 1 year ago

  • Category changed from Performance to Content Views

Also available in: Atom PDF