Project

General

Profile

Actions

Refactor #34160

closed

Improve the fact_values api performance when loading a large number of facts

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

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

Description

This is due to the current way the build_facts_hash method is implemented, leading to a lot of excessive memory load, and some unneeded preloads from the db.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #35591: Can't use 'search' with fact_value via APIDuplicateActions
Actions #1

Updated by The Foreman Bot over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #3

Updated by Kenny Tordeurs over 2 years ago

  • Bugzilla link set to 2033593
Actions #4

Updated by Tomer Brisker over 2 years ago

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

Updated by Amit Upadhye about 2 years ago

  • Subject changed from fact_values api performance issues when loading a large number of facts to Improve the fact_values api performance when loading a large number of facts
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Related to Bug #35591: Can't use 'search' with fact_value via API added
Actions

Also available in: Atom PDF