Change in ovirt-engine[master]: core: Sometimes getting exception when trying to preview sna...

mkublin at redhat.com mkublin at redhat.com
Tue Jul 3 07:05:55 UTC 2012


Michael Kublin has submitted this change and it was merged.

Change subject: core: Sometimes getting exception when trying to preview snapshots (#836162)
......................................................................


core: Sometimes getting exception when trying to preview snapshots (#836162)

https://bugzilla.redhat.com/836162

The following problem was caused because of a memory lock was released before
appropriate data was committed.
Solution: Disable a global transaction at TryBackToAllSnapshotsOfVmCommand (preview scenario)

Change-Id: I07ec66f6c725827526250a03e04f133783ed7270
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/dbscripts/snapshots_sp.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/SnapshotDaoTest.java
5 files changed, 108 insertions(+), 33 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I07ec66f6c725827526250a03e04f133783ed7270
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list