kosteev commented on issue #18229: URL: https://github.com/apache/airflow/issues/18229#issuecomment-920998071
![image](https://user-images.githubusercontent.com/1017130/133639089-3540cfdf-8cd4-4b5c-ad4f-2c8f3eee200b.png) After some testing it looks like the issue is in mini scheduler running in worker. So, somehow mini scheduler schedules a task that shouldn't be scheduled as it doesn't meet all dependency requirements (wait_for_downstream=True), and then it fails during start of execution because of it. If I disable mini scheduler [scheduler]schedule_after_task_execution=False the issue is not reproduced anymore. This is screenshot when mini scheduler disabled: ![image](https://user-images.githubusercontent.com/1017130/133639242-d069f8bc-813b-4f3d-b563-63d6b847aa1e.png) CC: @ashb -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org