
Tal Nisan has submitted this change and it was merged. Change subject: core: Wrap syncDbRecords code in a transaction ...................................................................... core: Wrap syncDbRecords code in a transaction 'syncDbRecords' method performs multiple updates to the database. While 'onFailed' method manages transaction, 'onSucceeded' method does not. This patch changes 'syncDbRecords' logic to run inside a transaction. This patch will simplify fixing the related bug. Change-Id: Id4e045c3971817a878d836b56d75e253eb67171f Bug-Url: https://bugzilla.redhat.com/1309294 Signed-off-by: Ala Hino <ahino@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveSnapshotSingleDiskLiveCommand.java 1 file changed, 35 insertions(+), 35 deletions(-) Approvals: Tal Nisan: Passed CI tests Greg Padgett: Looks good to me, but someone else must approve Ala Hino: Verified Liron Aravot: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/54133 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id4e045c3971817a878d836b56d75e253eb67171f Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.6 Gerrit-Owner: Ala Hino <ahino@redhat.com> Gerrit-Reviewer: Ala Hino <ahino@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Greg Padgett <gpadgett@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Liron Aravot <laravot@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>