amoghrajesh commented on issue #45145:
URL: https://github.com/apache/airflow/issues/45145#issuecomment-2565052272

   @jason810496 some ideas for you to start with:
   1. One of the issues could be that the scheduler is getting killed before 
the tasks enter the executor, leading to tasks remaining in `queued` state. 
   2. Some ideas that might be useful:
   - Tweak around with the timeouts here so that we can have enough time after 
the scheduler restart.
   - Wait for few seconds for the tasks to enter the executor, and then kill 
the scheduler.
   - Add api calls that can check for status of the task in the `monitor_task` 
loop. So that we can wait appropriately.


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