Change in ovirt-engine[master]: core: remove call to acquireLockInternal() from CDA

tnisan at redhat.com tnisan at redhat.com
Sun Dec 6 11:55:33 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: remove call to acquireLockInternal() from CDA
......................................................................


core: remove call to acquireLockInternal() from CDA

This patch removes the call to acquireLockInternal() in AddDiskCommand's
CDA and overrides applyLockProperties instead, to use the locking
infrastructure.

Change-Id: Iea13ca55ad8efa14744e843fae46e4b6fb4543f8
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskCommandTest.java
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved; Passed CI tests
  Idan Shaby: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iea13ca55ad8efa14744e843fae46e4b6fb4543f8
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list