Change in ovirt-engine[master]: engine: Imroving updates of vds dynamic

mkublin at redhat.com mkublin at redhat.com
Sun Apr 7 11:49:20 UTC 2013


Michael Kublin has submitted this change and it was merged.

Change subject: engine: Imroving updates of vds dynamic
......................................................................


engine: Imroving updates of vds dynamic

The following patch is removing call for UpdateVdsDynamicData command in order to
update net_config_dirty field.

The change is make a simple update instead of:
1. Run query for VdsDynamic
2. Acquire lock on VdsManager
3. Perform update

Change-Id: Ic9e76b6ddd20ebd36a00d68b44da3a3a954ad87d
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/dbscripts/vds_sp.sql
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/vdsbroker/CollectVdsNetworkDataVDSCommand.java
5 files changed, 41 insertions(+), 8 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9e76b6ddd20ebd36a00d68b44da3a3a954ad87d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list