Project

General

Profile

Actions

Refactor #22172

open

Reduce the number of SQL queries in compute host association logic

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

Status:
New
Priority:
Low
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Today, there is a sql query for each VM from the compute resource to check
if it can be associated. After refactoring, the sql queries should be consolidated
to some batches to reduce the N+1 issue.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #21317: Rescue from errors on per-host basis when associating vmware VMsClosedIvan Necas10/12/2017Actions
Actions #1

Updated by Ivan Necas over 6 years ago

  • Related to Bug #21317: Rescue from errors on per-host basis when associating vmware VMs added
Actions

Also available in: Atom PDF