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

amureini at redhat.com amureini at redhat.com
Tue Jun 18 07:38:57 UTC 2013


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



More information about the Engine-commits mailing list