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

tnisan at redhat.com tnisan at redhat.com
Wed Jun 22 10:54:27 UTC 2016


Tal Nisan 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_00_0760_drop_unique_constraint.sql
4 files changed, 38 insertions(+), 4 deletions(-)

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

Objections:
  Jenkins CI: Failed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7ba0fa8caecbbd9ffe62ff45fab075dd01af03c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list