Liron Aravot has posted comments on this change.

Change subject: core : WIP : Preview snapshot - NPE after engine crash
......................................................................


Patch Set 5: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 89:             VmHandler.unlockVm(getVm(), getCompensationContext());
Line 90:             // TODO : this line is temporary until AsyncTaskManager 
issues (missing tasks) would be solved,
Line 91:             // as of today - endSuccessfully() will be called also in 
case that tasks were initiated for some of the
Line 92:             // disks regardless if there was a failure during the 
initializtion of it.
Line 93:             if 
(getSnapshotDao().get(((ImagesActionsParametersBase)getParameters().getImagesParameters().get(0)).getVmSnapshotId())
 != null) {
will cause to duplication. no reason add this it will be solved as part of 
AsyncTaskManager issues and it's being use for the children commands only.
Line 94:                 restoreVmConfigFromSnapshot();
Line 95:             }
Line 96:         } else {
Line 97:             setCommandShouldBeLogged(false);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia4ddecc990fbca23fb98e8ab42cb1eb039e1fb59
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: Michael Kublin <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to