[
https://issues.apache.org/jira/browse/AIRFLOW-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor resolved AIRFLOW-3632.
----------------------------------------
Fix Version/s: 1.10.7
Resolution: Fixed
> dag_runs endpoint does not allow quick subsequent requests to same DAG
> ----------------------------------------------------------------------
>
> Key: AIRFLOW-3632
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3632
> Project: Apache Airflow
> Issue Type: Bug
> Components: api
> Affects Versions: 1.10.1
> Environment: MacOS and Linux
> Reporter: Alpesh
> Assignee: Alpesh
> Priority: Major
> Labels: easyfix
> Fix For: 1.10.7
>
> Attachments: test_api.sh
>
>
> The experimental API endpoint to start dag runs
> (/dags/<string:dag_id>/dag_runs) does not allow quick subsequent requests to
> run same dag as trigger_dag controller method does not pass
> replace_microseconds argument to trigger_dag method of
> common/experimental/trigger_dag.py.
> The attached shell script runs example_bash_operator in quick successions.
> Only first request is accepted and subsequent requests are rejected with
> message "Run id manual__xxxxxx already exists for dag id
> example_bash_operator"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)