Change in ovirt-engine[master]: core: Wrap syncDbRecords code in a transaction

Liron Aravot 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. Change-Id: Id4e045c3971817a878d836b56d75e253eb67171f Signed-off-by: Ala Hino <ahino@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/RemoveSnapshotSingleDiskLiveCommand.java 1 file changed, 31 insertions(+), 31 deletions(-) Approvals: Greg Padgett: Looks good to me, but someone else must approve Ala Hino: Verified Liron Aravot: Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/53604 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id4e045c3971817a878d836b56d75e253eb67171f Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master 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: gerrit-hooks <automation@ovirt.org>
participants (1)
-
laravot@redhat.com