Project

General

Profile

Actions

Bug #20946

closed

clean_installed_packages script logs a count(*), causing slow performance

Added by Chris Duryee over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The clean_installed_packages.rake script prints the count of remaining records for every batch of 20,000. This query can take upwards of two hours on a busy katello system.

Additionally, the script will error out if any records are modified in between the time the "existing" list is created, and the time the batch is cleaned. This can happen if a new system is registered while the script runs.

Actions #1

Updated by The Foreman Bot over 6 years ago

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

Updated by Chris Duryee over 6 years ago

  • Bugzilla link set to 1483677
Actions #3

Updated by Chris Duryee over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release set to 250
Actions

Also available in: Atom PDF