njnu-seafish commented on code in PR #17759:
URL: 
https://github.com/apache/dolphinscheduler/pull/17759#discussion_r2609659028


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/WorkflowEventBusFireWorker.java:
##########
@@ -128,6 +132,19 @@ private void doFireSingleWorkflowEventBus(final 
IWorkflowExecutionRunnable workf
                     ThreadUtils.sleep(5_000);
                     return;
                 }
+                // the task encounters an unrecoverable error (e.g., 
initialization failure).
+                if (ExceptionUtils.isTaskFatalException(ex)) {
+                    log.warn("Task fatal exception occurred during event 
handling: {}", lifecycleEvent, ex);
+                    if (lifecycleEvent instanceof TaskDispatchLifecycleEvent) {

Review Comment:
   > 
   
   ok



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to