Oved Ourfali has submitted this change and it was merged.
Change subject: core: fix restore from snapshot
......................................................................
core: fix restore from snapshot
A previous commit (cd3dedff2755753a77da01ecf86332c4576a9acc) removed the code that removes
all devices, and added
code that only removes disks that are allowed to be in a snapshot.
This caused the devices to be duplicated on every snapshot restore.
This patch fixes this, and removes all devices besides disks that are
not on snapshots.
Change-Id: I7866d0c55153b65023e18075bb57bd7fdfbe78f4
Signed-off-by: Oved Ourfali <oourfali(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
1 file changed, 13 insertions(+), 2 deletions(-)
Approvals:
Oved Ourfali: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5083
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7866d0c55153b65023e18075bb57bd7fdfbe78f4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>