Change in ovirt-engine[master]: core: use VdsDynamicDao in vm-analyzer

ahadas at redhat.com ahadas at redhat.com
Mon Apr 18 08:26:20 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: use VdsDynamicDao in vm-analyzer
......................................................................


core: use VdsDynamicDao in vm-analyzer

During the analysis of the VM the analyzer needs to check
the status of the host that the VM is being migrated to
and no other information about hosts is needed, therefore
it can use VdsDynamicDao instead of VdsDao. That reduces
the complexity of the queries from the database.

Change-Id: I332baefe4e133a0353dbdddec9e82c9325a92a24
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmAnalyzer.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmAnalyzerFactory.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmsMonitoring.java
M backend/manager/modules/vdsbroker/src/test/java/org/ovirt/engine/core/vdsbroker/monitoring/VmAnalyzerTest.java
4 files changed, 21 insertions(+), 20 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/56258
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I332baefe4e133a0353dbdddec9e82c9325a92a24
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list