Maor Lipchuk has posted comments on this change.

Change subject: core: WIP : RemoveImageDisk - race when updating snapshots ovf 
(#828192)
......................................................................


Patch Set 5: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveImageCommand.java
Line 172:                     final Snapshot updated =
Line 173:                             
prepareSnapshotConfigWithoutImageSingleImage(vmSnapshotId.getValue(),
Line 174:                                     snapshotDisk.getImageId());
Line 175:                     if (updated != null) {
Line 176:                         
TransactionSupport.executeInScope(TransactionScopeOption.RequiresNew,
Not sure if we need a new transaction here
Line 177:                                 new TransactionMethod<Object>() {
Line 178:                                     @Override
Line 179:                                     public Object runInTransaction() {
Line 180:                                         
getSnapshotDao().update(updated);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iccb44f1aa9d204477955343167133849a4146753
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to