Rahulk14 commented on issue #45925: URL: https://github.com/apache/airflow/issues/45925#issuecomment-2796549303
**When we mark a task as "Failed", Airflow immediately stops the running task. Here's why:** - We're using Airflow version 3. - In newer versions of Airflow, there's a graceful shutdown mechanism for running tasks when you mark them as failed. **How it works in newer versions:** - Mark as Failed → Send SIGTERM to the task → Wait → If not stopped, send SIGKILL - This ensures the task is properly terminated. **Comparison:** - New Airflow: Mark as Failed → Task gets terminated properly - Old Airflow: Mark as Failed → Task might keep running → Could result in a false success overwrite   -- 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]
