Change in ovirt-engine[master]: core: stop polling the database for vm-jobs

ahadas at redhat.com ahadas at redhat.com
Wed Apr 20 08:44:26 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: stop polling the database for vm-jobs
......................................................................


core: stop polling the database for vm-jobs

Now that we have the up-to-date status of the VM-jobs in memory,
the callback of the merge operation can query that in-memory
repository instead of querying the database.

Change-Id: Ia597bc449b17e5da768998eb5e577dfedb745535
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MergeCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MergeCommandCallback.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmJobDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmJobDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VmJobDaoTest.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmJobsMonitoring.java
M packaging/dbscripts/vm_jobs_sp.sql
7 files changed, 33 insertions(+), 84 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Greg Padgett: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Shmuel Leib Melamud: Looks good to me, but someone else must approve
  Ala Hino: Looks good to me, but someone else must approve
  Moti Asayag: Looks good to me, but someone else must approve
  Arik Hadas: Verified



-- 
To view, visit https://gerrit.ovirt.org/54442
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia597bc449b17e5da768998eb5e577dfedb745535
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list