Project

General

Profile

Actions

Refactor #18975

open

Store info about relevancy of a host status in database

Added by Ivan Necas over 7 years ago. Updated over 7 years ago.

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

Description

Right now, we need to calculate the host status on per-host basis. This leads to:

1. N+1 queries when the relevant method needs to fetch additional data (example http://projects.theforeman.org/issues/18842)
2. not ability to perform a relevant search that would respect the relevancy (example http://projects.theforeman.org/issues/18974)


Related issues 3 (2 open1 closed)

Related to Foreman Remote Execution - Bug #18842: Avoid N+1 query in foreman hosts index by declaring proper scopeNew03/08/2017Actions
Related to Foreman - Bug #18974: Host configuration chart should not include irrelevan hostsNew03/22/2017Actions
Related to Katello - Bug #18845: Avoid N+1 query in foreman hosts index by declaring proper scopeClosedJustin Sherrill03/08/2017Actions
Actions

Also available in: Atom PDF