njnu-seafish commented on code in PR #17759:
URL:
https://github.com/apache/dolphinscheduler/pull/17759#discussion_r2608995675
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/statemachine/ITaskStateAction.java:
##########
@@ -89,7 +91,15 @@ void onRetryEvent(final IWorkflowExecutionRunnable
workflowExecutionRunnable,
*/
void onDispatchEvent(final IWorkflowExecutionRunnable
workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
- final TaskDispatchLifecycleEvent taskDispatchEvent);
+ final TaskDispatchLifecycleEvent taskDispatchEvent)
throws TaskFatalException;
+
+ /**
+ * Perform the necessary actions when the task in a certain state receive
a {@link TaskFatalLifecycleEvent}.
+ * <p> This method is called when the task encounters an unrecoverable
error (e.g., initialization failure).
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]