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(a)redhat.com <lzelkha(a)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(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server