Change in ovirt-engine[master]: core: fix restore from snapshot

oourfali at redhat.com oourfali at redhat.com
Wed Jun 6 07:17:28 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>



More information about the Engine-commits mailing list