Change in ovirt-engine[master]: core: Batch updates might create a database deadlock

yzaslavs at redhat.com yzaslavs at redhat.com
Mon May 5 07:57:09 UTC 2014


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Batch updates might create a database deadlock
......................................................................


core: Batch updates might create a database deadlock

Batch updates might create a database deadlock in systems under load
Sorting the batch collection by id should solve this problem

Change-Id: I1f1868c7a76ea50257f40929573e36ad304c353c
Bug-Url: https://bugzilla.redhat.com/1092299
Signed-off-by: lzelkha at redhat.com <lzelkha at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/MassOperationsGenericDaoDbFacade.java
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Liran Zelkha: Verified
  Yair Zaslavsky: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1f1868c7a76ea50257f40929573e36ad304c353c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list