Federico Simoncelli has posted comments on this change. Change subject: core: do not clear currently running tasks ......................................................................
Patch Set 1: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandMultiAsyncTasks.java Line 130: synchronized (_listTasks) { Line 131: java.util.ArrayList<CommandAsyncTask> CurrentActionTypeTasks = getCurrentTasks(); Line 132: Line 133: for (CommandAsyncTask task : CurrentActionTypeTasks) { Line 134: if (task.getLastTaskStatus().getStatus() == AsyncTaskStatusEnum.finished I'd use getTaskIsRunning but I have the feeling that the checks there are incomplete. What do you think? Line 135: || task.getLastTaskStatus().getStatus() == AsyncTaskStatusEnum.aborting) { Line 136: task.clearAsyncTask(); Line 137: } Line 138: } -- To view, visit http://gerrit.ovirt.org/17343 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I230723796721d2cfd639be9f4a405fb54ef63e2f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli <fsimo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches