You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "RNHTTR (via GitHub)" <gi...@apache.org> on 2023/03/02 03:05:42 UTC

[GitHub] [airflow] RNHTTR commented on pull request #28943: Add handling logic on CeleryExecutor to reschedule task stuck in queued status

RNHTTR commented on PR #28943:
URL: https://github.com/apache/airflow/pull/28943#issuecomment-1451216257

   1. Should this instead set the task state to `FAILED` instead of `SCHEDULED` to avoid a possible infinite loop of scheduled -> queued -> scheduled -> queued?
   2. Should there instead be something much simpler than this and/or `stalled_task_timeout`?
      1. On each scheduler loop, query for tasks whose `queued_dttm` is greater than `{some config setting}`, and fail those tasks


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