Sangameshmsopen commented on issue #25060:
URL: https://github.com/apache/airflow/issues/25060#issuecomment-1424199989

   Hello all,
   We have observed that in Airflow scheduler heartbeat has stopped and all the 
DAGs were in queued or running state. We have checked scheduler logs and got 
the below error. May i know what might be the cause for this.
   
   Details:
   We are running Airflow in Google cloud Composer service with below versions
   composer-2.1.4
   [airflow-2](https://issues.apache.org/jira/browse/AIRFLOW-2).4.3
   
   Error:
   sqlalchemy.exc.PendingRollbackError: This Session's transaction has been 
rolled back due to a previous exception during flush. To begin a new 
transaction with this Session, first issue Session.rollback(). Original 
exception was: (psycopg2.errors.UniqueViolation) duplicate key value violates 
unique constraint "task_instance_pkey"


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to