Allon Mureinik has submitted this change and it was merged.

Change subject: core: avoid unneeded lock when moving a disk
......................................................................


core: avoid unneeded lock when moving a disk

When moving a disk, as the copy operation ends the engine attempts to
delete the source/target images (depending on whether the copy operation
has failed or succeeded) - while performing the remove operation the
disk shouldn't be locked (in the database) as it's already locked by
the parent command.

Change-Id: I0fed4563bdb0c245f485e64bcad61f8980e17ebe
Signed-off-by: Liron Aravot <lara...@redhat.com>
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveImageGroupCommand.java
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/15814
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0fed4563bdb0c245f485e64bcad61f8980e17ebe
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to