mik-laj edited a comment on issue #8181: Duplicate key value violates unique constraint "task_instance_pkey" error URL: https://github.com/apache/airflow/issues/8181#issuecomment-610911549 If the tasks are in the None state then the problem exists somewhere in this block of code. https://github.com/apache/airflow/blob/master/airflow/jobs/scheduler_job.py#L861-L863 1 line create task instance with none state 3 line change state from none to SCHEDULED Please note that this is beyond the main scheduler and you must view the logs in the file.
---------------------------------------------------------------- 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] With regards, Apache Git Services
