atul-astronomer opened a new issue, #47670:
URL: https://github.com/apache/airflow/issues/47670

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Able to create multiple backfills on same date if logical_date is different.
   This is happening with Dags which uses timetable in schedule.
   
   <img width="1031" alt="Image" 
src="https://github.com/user-attachments/assets/864ff70c-5068-41ff-b5a9-c9fda847db14";
 />
   
   <img width="1138" alt="Image" 
src="https://github.com/user-attachments/assets/fc206749-ff7c-431d-894c-f31ffa54e9ae";
 />
   
   ### What you think should happen instead?
   
   User should see 409 conflict when trying to create backfills on same date.
   
   ### How to reproduce
   
   Run the backfill on the below Dag in gap of 2 minutes:
   
   ```python
   from airflow.providers.standard.operators.bash import BashOperator
   from datetime import datetime, timedelta
   
   from airflow import DAG
   
   dag = DAG(
       'test_api_dag',
       start_date=datetime(2025, 3, 1, 3, 28, 0),
       schedule=timedelta(days=1),
       is_paused_upon_creation=False
   )
   
   hello_task = BashOperator(
       task_id='test_task',
       bash_command='echo "Hello World from Airflow!"',
       do_xcom_push = True,
       dag=dag,
   )
   
   hello_task
   
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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