raphaelauv opened a new issue, #27427:
URL: https://github.com/apache/airflow/issues/27427

   ### Apache Airflow version
   
   2.4.2
   
   ### What happened
   
   With the Celeryexecutor with 1 scheduler and 1 triggerer 
   
   Async tasks ( deferable ) stay in queued state when there is zero airflow 
worker
   
   ### What you think should happen instead
   
   Deferable task should not stay in queued STATE when there is at least 1 
triggerer with enought slots to run the async task
   
   ### How to reproduce
   
   curl -LfO 
'https://airflow.apache.org/docs/apache-airflow/2.4.2/docker-compose.yaml'
   
   mkdir -p ./dags ./logs ./plugins
   
   docker compose up -d
   
   # wait 1 minute
   
   docker stop airlfow-worker
   
   # open  http://localhost:8080/dags/example_time_delta_sensor_async/grid
   # activate dag 
   # trigger run
   
   # the task stay in queued
   
   
   docker start airlfow-worker
   
   # the task run when worker is back online
   
   
   ### Operating System
   
   Ubuntu 22.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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