Project

General

Profile

Actions

Refactor #28564

closed

improve fact cleanup performance

Added by Tomer Brisker over 4 years ago. Updated about 4 years ago.

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

Description

`delete_orphaned_facts` step is very slow, it is loading all fact names and checking if they have fact values associated with them, then trying to also delete fact values unnecessarily.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #25227: Foreman-rake facts:cleanup batch/rolling supportClosedLukas ZapletalActions
Related to Foreman - Bug #30028: foreman-rake facts:clean fails with foreign key constraint violationClosedTomer BriskerActions
Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request https://github.com/theforeman/foreman/pull/7288 added
Actions #2

Updated by Tomer Brisker over 4 years ago

  • Related to Feature #25227: Foreman-rake facts:cleanup batch/rolling support added
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Tomer Brisker over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker about 4 years ago

  • Fixed in Releases 1.24.2 added
Actions #6

Updated by Tomer Brisker over 2 years ago

  • Related to Bug #30028: foreman-rake facts:clean fails with foreign key constraint violation added
Actions

Also available in: Atom PDF