Browse Source

[fix-#12932] when subprocess's processInstance is fail,not notify parent processInstance (#12933)

3.2.0-release
fuchanghai 2 years ago committed by GitHub
parent
commit
3747029cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThreadPool.java

1
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThreadPool.java

@ -122,6 +122,7 @@ public class WorkflowExecuteThreadPool extends ThreadPoolTaskExecutor {
LoggerUtils.setWorkflowInstanceIdMDC(processInstanceId); LoggerUtils.setWorkflowInstanceIdMDC(processInstanceId);
try { try {
logger.error("Workflow instance events handle failed", ex); logger.error("Workflow instance events handle failed", ex);
notifyProcessChanged(workflowExecuteThread.getProcessInstance());
multiThreadFilterMap.remove(workflowExecuteThread.getKey()); multiThreadFilterMap.remove(workflowExecuteThread.getKey());
} finally { } finally {
LoggerUtils.removeWorkflowInstanceIdMDC(); LoggerUtils.removeWorkflowInstanceIdMDC();

Loading…
Cancel
Save