Michael Kublin has submitted this change and it was merged.
Change subject: core : NestedSQLException during RemoveImageCommand (#767113)
......................................................................
core : NestedSQLException during RemoveImageCommand (#767113)
https://bugzilla.redhat.com/767113
The following bug was caused because of global transaction which was opened before
call to RemoveImageCommand.
Since we don't need a transaction to be opened at RemoveImageCommand, I marked all
commands
which are performing a call to RemoveImageCommand and performing only read operation by
attribute
@NonTransactive, which should disable a global transaction
Change-Id: Ie8d9b8b4320f00fa49f917bf45001587b700acc6
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveAllVmImagesCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveImageCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmFromImportExportCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmTemplateFromImportExportCommand.java
4 files changed, 10 insertions(+), 6 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4901
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8d9b8b4320f00fa49f917bf45001587b700acc6
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>