Change in ovirt-engine[master]: core: query long-time locks
ahadas at redhat.com
ahadas at redhat.com
Mon Mar 2 14:17:03 UTC 2015
Arik Hadas has submitted this change and it was merged.
Change subject: core: query long-time locks
......................................................................
core: query long-time locks
Add a method in LockManager that returns the long-time locks for a given
key. By "long-time lock" we refer to locks that are used in
async-commands for their whole execution.
This patch contains only the infrastructure. This change will be used by
queries (searches) from the UI, so entities will be returned with their
locks state, so it could be presented in the UI.
Change-Id: Iafcab44ef52d21405eeaaeb2cda4c03864a0e8e8
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lock/InMemoryLockManager.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/locks/LockInfo.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/lock/LockManager.java
M frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
4 files changed, 64 insertions(+), 0 deletions(-)
Approvals:
Arik Hadas: Verified
Moti Asayag: Looks good to me, approved
--
To view, visit https://gerrit.ovirt.org/38246
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iafcab44ef52d21405eeaaeb2cda4c03864a0e8e8
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list