Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Don't erroneously remove template->storage mappings
......................................................................


core: Don't erroneously remove template->storage mappings

If a storage domain is force removed and a template has a disk on that
SD, the image is removed regardless of whether that image also resides
on other SDs.  In the case where the template disk has been copied, the
template and images should remain intact and only the references for the
specific SD being removed should be deleted.

Change-Id: I058d160622990d2b42ccc02a61551c6f61550ade
Signed-off-by: Greg Padgett <[email protected]>
---
M backend/manager/dbscripts/storages_sp.sql
1 file changed, 9 insertions(+), 3 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I058d160622990d2b42ccc02a61551c6f61550ade
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to