Change in ovirt-engine[ovirt-engine-3.6]: core: MoveOrCopyDisk - the created disk should be locked

tnisan at redhat.com tnisan at redhat.com
Tue Nov 24 13:10:32 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: MoveOrCopyDisk - the created disk should be locked
......................................................................


core: MoveOrCopyDisk - the created disk should be locked

MoveOrCopyDiskCommand creates a new disk when a disk which isn't a
template disk is being copied.
The created disk isn't LOCKED, which allows to attempt to perform
operations using the disk while the copy wasn't finished yet.
This patch makes sure that the disk is added as LOCKED.

Change-Id: I82774a686fb5443e0402b1894c0e5fb2c8820cec
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1282694
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, 1 insertion(+), 0 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I82774a686fb5443e0402b1894c0e5fb2c8820cec
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