Change in ovirt-engine[master]: core: db changes to add association between tasks and entiti...

yzaslavs at redhat.com yzaslavs at redhat.com
Sun Jul 15 05:51:57 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: db changes to add association between tasks and entities
......................................................................


core: db changes to add association between tasks and entities

This patch is the beginning of entity association to
tasks that relate to it.
The patch introduces the table asyc_task_entities that holds in
each record ID of async task, ID of entity ID and the type of the entity.
It adds a psql function, used by AsyncTaskDao, to get all taskIDs for a
given entity.

Change-Id: I7a711e932ffb7bcc6920a3456ac97f8b8fc18a76
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/dbscripts/async_tasks_sp.sql
A backend/manager/dbscripts/upgrade/03_01_1280_add_async_task_entities_table.sql
2 files changed, 37 insertions(+), 2 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7a711e932ffb7bcc6920a3456ac97f8b8fc18a76
Gerrit-PatchSet: 12
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: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk 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