Project

General

Profile

Actions

Bug #6005

closed

Content reindexing Incredibly Inefficient

Added by Justin Sherrill almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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.

Actions

Also available in: Atom PDF