Change in ovirt-engine[master]: core: Handling copied template disks for unregistered disks.

mlipchuk at redhat.com mlipchuk at redhat.com
Wed Jun 22 07:20:48 UTC 2016


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Handling copied template disks for unregistered disks.
......................................................................


core: Handling copied template disks for unregistered disks.

Drop unique foreign key in unregistered_disks of disk_id since copied
template disks might not follow the unique key.
Instead added a column of storage_domain_id in unregistered_disks_to_vms
so it will support the foreign key for unregistered_disks.

Change-Id: Ic7ba0fa8caecbbd9ffe62ff45fab075dd01af03c
Bug-Url: https://bugzilla.redhat.com/1302780
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/UnregisteredDisksDaoImpl.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M packaging/dbscripts/unregistered_disks_sp.sql
A packaging/dbscripts/upgrade/04_01_0090_drop_unique_constraint.sql
4 files changed, 38 insertions(+), 4 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7ba0fa8caecbbd9ffe62ff45fab075dd01af03c
Gerrit-PatchSet: 19
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list