Project

General

Profile

Actions

Bug #22642

closed

Hostgroup unlimited search eager loads all hosts

Added by Marek Hulán about 6 years ago. Updated almost 6 years ago.

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

Description

if you search hostgroup with query like "host.fqdn" it will find hostgroup containing that host. This can be pretty slow and memory consuming since it joins host and host's relations. It would be better to add :only_explicit => true for host scoped search definition, I don't think this would be broadly used and users could still achieve it by using "host = host.fqdn" if needed.


Related issues 1 (0 open1 closed)

Related to Katello - Bug #22644: Scoped search definitions added by hostgroup extension should not add more relations to generic searchClosedMarek Hulán02/21/2018Actions
Actions

Also available in: Atom PDF