You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/03 15:24:31 UTC

[GitHub] [airflow] turbaszek commented on issue #12783: Sensors in reschedule mode are not rescheduled

turbaszek commented on issue #12783:
URL: https://github.com/apache/airflow/issues/12783#issuecomment-738076275


   On of the problems is that scheduler schedule a task two times:
   ```
   [2020-12-03 15:23:03,332] {scheduler_job.py:1066} INFO - Setting the following tasks to queued state:
   	<TaskInstance: other_dag.wait-task 2020-12-03 15:22:00+00:00 [scheduled]>
   [2020-12-03 15:23:03,336] {scheduler_job.py:1108} INFO - Sending TaskInstanceKey(dag_id='other_dag', task_id='wait-task', execution_date=datetime.datetime(2020, 12, 3, 15, 22, tzinfo=Timezone('UTC')), try_number=1) to executor with priority 1 and queue default
   [2020-12-03 15:23:03,337] {base_executor.py:78} DEBUG - TI: TaskInstanceKey(dag_id='other_dag', task_id='wait-task', execution_date=datetime.datetime(2020, 12, 3, 15, 22, tzinfo=Timezone('UTC')), try_number=1) QUEUED: OrderedDict(), RUNNING: {TaskInstanceKey(dag_id='other_dag', task_id='wait-task', execution_date=datetime.datetime(2020, 12, 3, 15, 22, tzinfo=Timezone('UTC')), try_number=1)}
   [2020-12-03 15:23:03,338] {base_executor.py:83} ERROR - Could not queue task TaskInstanceKey(dag_id='other_dag', task_id='wait-task', execution_date=datetime.datetime(2020, 12, 3, 15, 22, tzinfo=Timezone('UTC')), try_number=1)
   ```


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

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