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

tnisan at redhat.com tnisan at redhat.com
Wed Mar 2 10:03:25 UTC 2016


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 at 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 at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list