[ 
https://issues.apache.org/jira/browse/AIRFLOW-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978624#comment-16978624
 ] 

ASF GitHub Bot commented on AIRFLOW-3632:
-----------------------------------------

ashb commented on pull request #6380: [AIRFLOW-3632] Allow replace_microseconds 
in trigger_dag REST request
URL: https://github.com/apache/airflow/pull/6380
 
 
   
 
----------------------------------------------------------------
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:
us...@infra.apache.org


> 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
>         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)

Reply via email to