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: [email protected] <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to