This commit is contained in:
MickYuan 2025-07-01 18:45:14 +08:00 committed by GitHub
commit 6344fb6450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -187,8 +187,15 @@ public class TaskGroupContainer extends AbstractContainer {
}
}
// 2.发现该taskGroup下taskExecutor的总状态失败则汇报错误
// 2.发现该taskGroup下taskExecutor的总状态失败则汇报错误同时关闭失败的taskExecutor
if (failedOrKilled) {
taskFailedExecutorMap.forEach((taskId, taskExecutor) -> {
if (!taskExecutor.isShutdown()) {
taskExecutor.shutdown();
}
});
lastTaskGroupContainerCommunication = reportTaskGroupCommunication(
lastTaskGroupContainerCommunication, taskCountInThisTaskGroup);