You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "gurmeetsaran (via GitHub)" <gi...@apache.org> on 2023/12/06 06:04:21 UTC

Re: [I] Tasks stuck in queued state [airflow]

gurmeetsaran commented on issue #21225:
URL: https://github.com/apache/airflow/issues/21225#issuecomment-1842151808

   Thanks @chenzuoli for providing the script. We use Airflow 2.2.2 and initially use the cronjob to run the provided script automatically to run task which were stuck. The script works great for non sensor related task but for sensor(specially reschedule mode), it becomes responsibility of script to manage the task for every single run. In a way the script becomes mini scheduler. This was becoming unmanageable so we decided to port the fix to  airflow 2.2.2 
   
   The patch is available https://github.com/gurmeetsaran/airflow/pull/1.patch for airflow 2.2.2 (only celery executor). We are not seeing in task stuck issue after applying this patch.
   
   Sharing it here if it helps anyone.
   


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org