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(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>