FloChehab commented on pull request #10230:
URL: https://github.com/apache/airflow/pull/10230#issuecomment-679314891


   Same phenomenon with LocalExecutor (I've cleaned all the Persistent Volume 
Claim before testing with the LocalExecutor):
   
   * 
[stuck_retry.log](https://github.com/apache/airflow/files/5119788/stuck_retry.log)
   * 
[second_restart.log](https://github.com/apache/airflow/files/5119791/second_restart.log)
   
   State in db just before the scheduler (after the second restarts), picks the 
task:
   
   ```txt
   postgres=# select * from task_instance where state = 'up_for_retry';
   -[ RECORD 1 ]---+------------------------------
   task_id         | task
   dag_id          | bug_kuberntes_pod_operator
   execution_date  | 2020-08-24 19:02:51.616716+00
   start_date      | 2020-08-24 19:02:57.048154+00
   end_date        | 2020-08-24 19:05:56.199493+00
   duration        | 179.151339
   state           | up_for_retry
   try_number      | 1
   hostname        | 
   unixname        | airflow
   job_id          | 2
   pool            | default_pool
   queue           | celery
   priority_weight | 1
   operator        | KubernetesPodOperator
   queued_dttm     | 2020-08-24 19:02:53.814477+00
   pid             | 628
   max_tries       | 3
   executor_config | \x80057d942e
   pool_slots      | 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:
[email protected]


Reply via email to