Change in ovirt-engine[master]: engine : Transaction issues in CommandsCacheImpl updateStatus

emesika at redhat.com emesika at redhat.com
Thu Jul 31 13:57:19 UTC 2014


Eli Mesika has submitted this change and it was merged.

Change subject: engine : Transaction issues in CommandsCacheImpl updateStatus
......................................................................


engine : Transaction issues in CommandsCacheImpl updateStatus

When async tasks are executed the updateCommandStatus
is being performed from two different transaction
resulting in transcation lock.

Transaction needs to be suspended before updating
command status.

Change-Id: I3e29d516b4cdf1509ae7838731869684004e5ee9
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandsCacheImpl.java
1 file changed, 16 insertions(+), 2 deletions(-)

Approvals:
  Ravi Nori: Verified
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3e29d516b4cdf1509ae7838731869684004e5ee9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list