Michael Kublin has submitted this change and it was merged.
Change subject: engine: Vds initializyng- query improvements
......................................................................
engine: Vds initializyng- query improvements
The following patch is doing a following:
1. Remove duplicate query for vds, in order to retrieve it name
2. Replaced query in loop: from getVds() to getVdsDynamic().
getVdsDynamic() query is faster, and retrirves data only from one single table
3. Fixing error log mesage
Change-Id: Iea601133e62927bc2808feb2f56efd9fb0e675d0
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsBrokerCommand.java
1 file changed, 18 insertions(+), 16 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12813
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iea601133e62927bc2808feb2f56efd9fb0e675d0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>