Change in ovirt-engine[master]: core: Remove space check when restoring a snapshot

Code Review gerrit at ovirt.org
Wed Nov 9 15:26:01 UTC 2016


>From Allon Mureinik <amureini at redhat.com>:

Allon Mureinik has submitted this change and it was merged.

Change subject: core: Remove space check when restoring a snapshot
......................................................................


core: Remove space check when restoring a snapshot

When a snapshot is restored the old leaves are discarded. This is NOT
a merge operation, just a remove volume call.
As such, it does not require any additional storage, and these
validations should be removed.

Change-Id: Icf459dd5f49d4d90c74de5e7314d3792419d69b4
Bug-Url: https://bugzilla.redhat.com/1390072
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/RestoreAllSnapshotsCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/snapshots/RestoreAllSnapshotsCommandTest.java
2 files changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Allon Mureinik: Verified; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icf459dd5f49d4d90c74de5e7314d3792419d69b4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini 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