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 #1

Updated by The Foreman Bot about 6 years ago

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

Updated by Marek Hulán about 6 years ago

  • Related to Bug #22644: Scoped search definitions added by hostgroup extension should not add more relations to generic search added
Actions #3

Updated by Tomer Brisker about 6 years ago

  • translation missing: en.field_release set to 330
Actions #4

Updated by Marek Hulán about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Tomer Brisker about 6 years ago

  • Bugzilla link set to 1547986
Actions

Also available in: Atom PDF