Bug 1112749 - Content reindexing Incredibly Inefficient
Summary: Content reindexing Incredibly Inefficient
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-24 15:41 UTC by Eric Helms
Modified: 2019-09-26 18:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 12:19:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6005 0 None None None 2016-04-22 16:41:01 UTC

Description Eric Helms 2014-06-24 15:41:21 UTC
Currently when running 'rake katello:reindex' we loop over each repo and index packages, errata, etc..  on each repo.  While this is simpler it is incredibly inefficient especially if you many content views with many versions.  The same set of packages will end up being reindex over and over and over again.

A more efficient way would be to just go through the entire $ITEM list in pulp and index that list once.

Comment 1 Eric Helms 2014-06-24 15:41:22 UTC
Created from redmine issue http://projects.theforeman.org/issues/6005

Comment 2 Eric Helms 2014-06-24 15:41:27 UTC
Upstream bug assigned to jsherril

Comment 4 Bryan Kearney 2014-06-24 16:05:17 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6005 has been closed

Comment 6 sthirugn@redhat.com 2014-09-04 21:00:17 UTC
Marking this Verified since this is a developer task and the upstream issue is closed. Please open new bugs if necessary.

Version Tested:
GA Snap 7 - Satellite-6.0.4-RHEL-6-20140829.0

Comment 7 Bryan Kearney 2014-09-11 12:19:26 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.


Note You need to log in before you can comment on or make changes to this bug.