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(a)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(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server