Arik Hadas has uploaded a new change for review.

Change subject: core: ignore reports of lastStopTime from vdsm
......................................................................

core: ignore reports of lastStopTime from vdsm

Set VmDynamic#lastStopTime as a field that should not change by VDSM
which will reduce the number of updates in the DB (VmDynamic won't be
updated when nothing relevant was changed)

Change-Id: I5e46b87d8ee1753b77d88ce1987c166e7f2e4509
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/23808/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
index 272b516..8e6aa80 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
@@ -1895,6 +1895,7 @@
             props.remove("consoleCurrentUserName");
             props.remove("runOnce");
             props.remove("cpuName");
+            props.remove("lastStopTime");
             if (vmNewDynamicData.getStatus() != VMStatus.Up) {
                 props.remove("appList");
                 vmNewDynamicData.setAppList(vmToUpdate.argvalue.getAppList());


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e46b87d8ee1753b77d88ce1987c166e7f2e4509
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Arik Hadas <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to