Change in ovirt-engine[master]: core: update isInitialized in the same TX

Roy Golan has submitted this change and it was merged. Change subject: core: update isInitialized in the same TX ...................................................................... core: update isInitialized in the same TX a part of a CreateVmVDSCommand is to upadate the isInitialized db column. Trying to set isInitialized with a new transaction will always fail since the current (parent) TX is locking vm_static already by other pending commits that have been made. Change-Id: I65557ca425eebd91c78ce4a4001e4ba4532b56d6 Bug-Url: https://bugzilla.redhat.com/890953 Signed-off-by: Roy Golan <rgolan@redhat.com> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/CreateVmVDSCommand.java 1 file changed, 1 insertion(+), 8 deletions(-) Approvals: Roy Golan: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/12134 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I65557ca425eebd91c78ce4a4001e4ba4532b56d6 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com>
participants (1)
-
rgolan@redhat.com