Project

General

Profile

Actions

Bug #31764

closed

available_for content_view_version parameter to /katello/api/packages or /katello/api/errata is slow

Added by Paul Donohue over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I wrote the original implementations for "available_for" in commits c874ec9f6a and f38cc3f447. Unfortunately, that implementation is extremely slow/inefficient when working with large numbers of packages/errata.

A more efficient implementation is possible and should be implemented.

Actions #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Paul Donohue
  • Pull request https://github.com/Katello/katello/pull/9130 added
Actions #2

Updated by Paul Donohue over 3 years ago

New implementation reduces the SQL query time for one particular use case on a production installation from about 5 minutes to about 5 seconds.

Actions #3

Updated by Jonathon Turel over 3 years ago

  • Triaged changed from Yes to No
Actions #4

Updated by Jonathon Turel over 3 years ago

  • Category set to Content Views
  • Target version set to Katello 4.1.0
  • Triaged changed from No to Yes
Actions #5

Updated by Jeremy Lenz over 3 years ago

  • Triaged changed from Yes to No
Actions #6

Updated by Samir Jha over 3 years ago

  • Target version changed from Katello 4.1.0 to Katello 4.1.1
  • Triaged changed from No to Yes
Actions #7

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #8

Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF