Change in ovirt-engine[ovirt-engine-3.6]: core: MoveOrCopyDisk - attempt to perform rollback for vm/fl...

tnisan at redhat.com tnisan at redhat.com
Tue Nov 24 13:11:54 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: MoveOrCopyDisk - attempt to perform rollback for vm/floating disk
......................................................................


core: MoveOrCopyDisk - attempt to perform rollback for vm/floating disk

Currently when executing MoveOrCopyDisk for a non template disk no rollback is
done and the disk will remain in the engine as a legit disk, while for
template disk the mapping of the disk on the other domain will be
deleted from the db.

This patch adds an attempt to perform a rollback when copying a non
template disk, the rollback when copying a template disk requires some
other modifications and will be handled on a different patch.

Change-Id: Id6727f513efca391ff843a1665dabb7826533706
Bug-Url: https://bugzilla.redhat.com/1232396
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyDiskCommand.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved; Passed CI tests
  Liron Aravot: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id6727f513efca391ff843a1665dabb7826533706
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot 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