You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "weiwenlan (via GitHub)" <gi...@apache.org> on 2023/04/11 03:05:57 UTC

[GitHub] [airflow] weiwenlan opened a new issue, #30572: exponential_backoff is not working in the reschedule mode

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

   ### Apache Airflow version
   
   2.5.3
   
   ### What happened
   
   Hi team, 
   I just found that when sensor is in the reschedule mode, `exponential_backoff` is not working. The reason is that the `try_number` is outside the loop of reschedule and reschedule mode will call `_get_next_poke_interval` with try_number to get the poke_interval. As the try_number is not change through the loop, reschedule mode will have same interval through the time.
   
   I tried to move out the try_number to solve the problem
   
   ### What you think should happen instead
   
   Should have exponential backoff interval
   
   ### How to reproduce
   
   Just call the sensor with `reschedule` mode and `exponential_backoff = True`
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   2.5
   
   ### Deployment
   
   Other 3rd-party Helm chart
   
   ### 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-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] exponential_backoff is not working in the reschedule mode [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #30572:
URL: https://github.com/apache/airflow/issues/30572#issuecomment-2049045628

   This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.


-- 
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-unsubscribe@airflow.apache.org

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


[GitHub] [airflow] boring-cyborg[bot] commented on issue #30572: exponential_backoff is not working in the reschedule mode

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #30572:
URL: https://github.com/apache/airflow/issues/30572#issuecomment-1502623913

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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-unsubscribe@airflow.apache.org

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


[GitHub] [airflow] weiwenlan commented on issue #30572: exponential_backoff is not working in the reschedule mode

Posted by "weiwenlan (via GitHub)" <gi...@apache.org>.
weiwenlan commented on issue #30572:
URL: https://github.com/apache/airflow/issues/30572#issuecomment-1502631874

   create a pr for this
   https://github.com/apache/airflow/pull/30571


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] exponential_backoff is not working in the reschedule mode [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #30572: exponential_backoff is not working in the reschedule mode
URL: https://github.com/apache/airflow/issues/30572


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] exponential_backoff is not working in the reschedule mode [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #30572:
URL: https://github.com/apache/airflow/issues/30572#issuecomment-2257615451

   This issue has been closed because it has not received response from the issue author.


-- 
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-unsubscribe@airflow.apache.org

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