Yair Zaslavsky has posted comments on this change. Change subject: engine : Fail tasks that dont have Vdsm Id ......................................................................
Patch Set 7: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskManager.java Line 182: Line 183: public static void failTaskWithoutVdsmId(final AsyncTasks task) { Line 184: task.getTaskParameters().setTaskGroupSuccess(false); Line 185: ExecutionHandler.endTaskStep(task.getStepId(), JobExecutionStatus.FAILED); Line 186: removeTaskFromDbByTaskId(task.getTaskId()); And another comment here - you can see that endAction is implemented at CommandBase.endActionInTransactionScope , so these two lines should probably be there. Line 187: if (task.getTaskType() == AsyncTaskType.unknown) { Line 188: return; Line 189: } Line 190: ThreadPoolUtil.execute(new Runnable() { -- To view, visit http://gerrit.ovirt.org/14368 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I110c483842027d1596f64dd8c3f635d62924a93f Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches