Refactor #28564
closed
improve fact cleanup performance
Added by Tomer Brisker about 5 years ago.
Updated about 5 years ago.
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.
- Status changed from New to Ready For Testing
- Assignee set to Tomer Brisker
- Pull request https://github.com/theforeman/foreman/pull/7288 added
- Related to Feature #25227: Foreman-rake facts:cleanup batch/rolling support added
- Fixed in Releases 2.0.0 added
- Status changed from Ready For Testing to Closed
- Fixed in Releases 1.24.2 added
- Related to Bug #30028: foreman-rake facts:clean fails with foreign key constraint violation added
Also available in: Atom
PDF