ashb commented on pull request #20975:
URL: https://github.com/apache/airflow/pull/20975#issuecomment-1030162294
It failed after 37 mins with:
```
psycopg2.errors.UniqueViolation: could not create unique index "xcom_pkey"
DETAIL: Key (dagrun_id, task_id, key)=(6661, task_6, return_value) is
duplicated.
```
Looking up that dagrun and xcom rows:
```
airflow-22=# select id,dag_id,execution_date,run_id from dag_run where id =
6661;
id | dag_id | execution_date | run_id
------+--------+------------------------+----------------------------
6661 | dag_3 | 2008-03-11 09:00:00+00 | run_2008-03-11T09:00:00+00
(1 row)
airflow-22=# select * from xcom where dag_id='dag_3' and execution_date =
'2008-03-11 09:00:00+00';
key | value | timestamp | execution_date
| task_id | dag_id
--------------+-------+-------------------------------+------------------------+---------+--------
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_1 | dag_3
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_2 | dag_3
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_3 | dag_3
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_4 | dag_3
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_5 | dag_3
return_value | \x | 2022-02-04 15:27:34.262708+00 | 2008-03-11
09:00:00+00 | task_6 | dag_3
```
--
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]