sahar1454 opened a new issue, #34869:
URL: https://github.com/apache/airflow/issues/34869

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   In airflow version `2.5.1`, adding retries on `ShortCircuitOperator` causes 
the Scheduler to crash with the following error:
   
   ```
   File 
"/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 
1243, in next_retry_datetime  
   return self.end_date + delay  
   OverflowError: date value out of range
   ```
   Retries on other operators are working fine.
   
   ### What you think should happen instead
   
   We should be able to add `retries` option to the ShortCircuitOperator tasks 
to automatically retry the tasks in case of random failures. For example, if 
airflow worker CPUs are high and airflow tasks are randomly failing as a 
result, we would like them to be retried.
   
   ### How to reproduce
   
   Add `retries` with a value of more than 0 to `ShortCircuitBreaker` task in 
airflow
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   2.5.1 on AWS Managed Apache Airflow
   
   ### Deployment
   
   Amazon (AWS) MWAA
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to