Change in ovirt-engine[master]: core: Getting running tasks on VDSM for data center

yzaslavs at redhat.com yzaslavs at redhat.com
Sun Jul 29 16:29:42 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Getting running tasks on VDSM  for data center
......................................................................


core: Getting running tasks on VDSM  for data center

This added pgsql function accepts as a parameter ID of data center and returns
the IDs of the running tasks of it.
The DAO part matching this function is also included in this patch

This is a first patch in a series of patches to handle blocking
of deactive storage domain for master storage domain in case there
are running tasks on the pool

Change-Id: Ibf8037ba1d12f40b924108fde5c4b9bdbcda8437
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/dbscripts/async_tasks_sp.sql
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAO.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAODbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/AsyncTaskDAOTest.java
4 files changed, 44 insertions(+), 0 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf8037ba1d12f40b924108fde5c4b9bdbcda8437
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list