Arik Hadas has submitted this change and it was merged.
Change subject: core: separate iteration count for vms and host monitoring
......................................................................
core: separate iteration count for vms and host monitoring
Host and VMs monitoring are now two different quartz jobs. It does not
makes sense that they will use the same counter to count their
iterations.
This patch adds new counter in VdsManager for counting the host
monitoring iterations. This counter works exactly as the counter in
VMStatsRefresher worked before. In addition the counting of iterations
of VMs monitoring is simplified.
Change-Id: I80e37c501de4f4117400e21c6ceef86911515c89
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
---
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/PollVMStatsRefresher.java
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VMStatsRefresher.java
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/EventVMStatsRefresher.java
4 files changed, 28 insertions(+), 19 deletions(-)
Approvals:
Omer Frenkel: Looks good to me, approved
Arik Hadas: Verified; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/42784
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I80e37c501de4f4117400e21c6ceef86911515c89
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org