anishgirianish commented on code in PR #60855:
URL: https://github.com/apache/airflow/pull/60855#discussion_r2970223461


##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -2107,6 +2107,10 @@ def supervise(
             final_state=process.final_state,
         )
         return exit_code
+    except TaskAlreadyRunningError:
+        # Let the executor handle this
+        log.info("Task is already running elsewhere, exiting", 
task_instance_id=str(ti.id))
+        raise

Review Comment:
   Yep, we do not need this besides for informational reasons. Removed it, 
thank you



-- 
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