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

tnisan at redhat.com tnisan at redhat.com
Tue Aug 5 18:20:34 UTC 2014


Tal Nisan 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
Bug-Url: https://bugzilla.redhat.com/1126957
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/30928
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3e29d516b4cdf1509ae7838731869684004e5ee9
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list