Skip to content

Task assigned with queue "heavy" landed on worker assigned to "default" queue #42981

Closed Answered by potiuk
pedro-cf asked this question in General
Discussion options

You must be logged in to vote

-> IMPORTANT: The DAG Run existed prior to the addition of the queue="heavy" to the dag's task. And the Task state was cleared in order to restart the task.

That's the reason. Past dag-run queues cannot be changed after dag_run and specifically "task instance" object entry gets created.

See https://airflow.apache.org/docs/apache-airflow/stable/database-erd-ref.html - the task_instance model contains "queue" so once task instance has the queue set there, re-running the same task instance will use what is there.

You could likely modify it manually, but currently there is no way - I think to modify it from UI - other than running backfill (@dstandish ?) which I think should do what you want.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@potiuk
Comment options

Answer selected by pedro-cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug area:core needs-triage label for new issues that we didn't triage yet provider:celery
2 participants
Converted from issue

This discussion was converted from issue #42894 on October 13, 2024 15:54.