Michael Kublin has posted comments on this change.

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


Patch Set 4: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 85:     protected void endSuccessfully() {
Line 86:         endActionOnDisks();
Line 87: 
Line 88:         if (getVm() != null) {
Line 89:             VmHandler.unlockVm(getVm(), getCompensationContext());
You should solve these. You should reset compensation after a first task 
created.
You don't remember? It was during off line meeting and you was part of it.
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) {


--
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: 4
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