Change in ovirt-engine[master]: core: Eliminate unneeded updates to VdsDynamic

yzaslavs at redhat.com yzaslavs at redhat.com
Mon Feb 3 11:33:54 UTC 2014


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Eliminate unneeded updates to VdsDynamic
......................................................................


core: Eliminate unneeded updates to VdsDynamic

This patch tries to minimize updates to VdsDynamic by checking the
database value before updating the entity.

Change-Id: Icab3ed7d251573f150d28f966d0ad2363ecc3441
Bug-Url: https://bugzilla.redhat.com/1016634
Signed-off-by: lzelkha at redhat.com <lzelkha at redhat.com>
---
A backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/CheckedUpdate.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDynamicDAO.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDynamicDAODbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDynamicDAOTest.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java
5 files changed, 52 insertions(+), 2 deletions(-)

Approvals:
  Liran Zelkha: Verified
  Yair Zaslavsky: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/23852
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icab3ed7d251573f150d28f966d0ad2363ecc3441
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list