Change in ovirt-engine[master]: core: avoid unneeded lock when moving a disk

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 <laravot@redhat.com> Signed-off-by: Allon Mureinik <amureini@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 <laravot@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Liron Ar <laravot@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com>
participants (1)
-
amureini@redhat.com