Change in ovirt-engine[master]: core: Introducing batch to async task mgr

yzaslavs at redhat.com yzaslavs at redhat.com
Mon Jul 8 12:34:54 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Introducing batch to async task mgr
......................................................................


core: Introducing batch to async task mgr

This patch is first step towards inserting batch
updates/inserts to the async tasks manager system.

The patch intoduces elimination of usage of INSERT SELECT
and fnsplitter in order to insert associations of entities
and async tasks to the database.
Instead, AsyncTaskUtils is changed to insert/update an AsyncTask
object, and a collection of objects the newly introduced
AsyncTaskEntity class - a class that represents the association
between async tasks and entities.

Change-Id: Ia6d8dc6095430c99fdb6c8cd8289c23e270fff9e
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/AsyncTaskUtils.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/AsyncTaskEntity.java
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
M packaging/dbscripts/async_tasks_sp.sql
7 files changed, 187 insertions(+), 101 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6d8dc6095430c99fdb6c8cd8289c23e270fff9e
Gerrit-PatchSet: 9
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: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Liran Zelkha <liran.zelkha at gmail.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list