mykola-shyshov commented on PR #58741:
URL: https://github.com/apache/airflow/pull/58741#issuecomment-3592864436

   > > ⚠️ Implement pre-allocation approach where scheduler generates/stores 
the external ID before starting the task, or provide it to the worker via 
environment variable.
   > 
   > For executors that have an external id (Celery or Kube) this should 
already be happening.
   
   May you point to right direction here? Executer does have task ID. it 
"sends" into scheduler 
[through](https://github.com/apache/airflow/blob/c52606a7a7465f5900f16bb8719c6d378c320df5/providers/celery/src/airflow/providers/celery/executors/celery_executor.py#L393)
 event_buffer. And here is race condition. Scheduler can lost this id.


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