ashb commented on issue #13099:
URL: https://github.com/apache/airflow/issues/13099#issuecomment-748067032
> We are using Airflow 1.10.9. We are calling the dag REST endpoint to
trigger. Intermittently we see the call fails. In the postgres logs we see
> `ERROR: duplicate key value violates unique constraint
"dag_run_dag_id_run_id_key" DETAIL: Key (dag_id,
run_id)=(ext_trigger_create_cbid_profile_for_duns,
manual__2020-12-17T22:39:06.726412+00:00) already exists. STATEMENT: INSERT
INTO dag_run (dag_id, execution_date, start_date, end_date, state, run_id,
external_trigger, conf) VALUES ('ext_trigger_create_cbid_profile_for_duns',
'2020-12-17T22:39:06.726412+00:00'::timestamptz,
'2020-12-17T22:39:06.962088+00:00'::timestamptz, NULL, 'running',
'manual__2020-12-17T22:39:06.726412+00:00', true, ....`
>
> Since it is related to error reporting it here.
@satishcb This is something else -- That error is saying that the pair
`(ext_trigger_create_cbid_profile_for_duns,
manual__2020-12-17T22:39:06.726412+00:00)` already exists in the DB. Since that
is from the API that likely means you have already triggered that exact pair
before.
----------------------------------------------------------------
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]