Skip to content

Conversation

@burnison
Copy link
Contributor

@burnison burnison commented Jan 9, 2025

Related issue: #1490

Description

When using -cut-over-exponential-backoff with -default-retries greater than 62, the sleep interval will overflow and immediately begin retrying in rapid succession. This commit corrects the backoff algorithm and adds test for both "retry operation" functions.

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

When using `-cut-over-exponential-backoff` with `-default-retries`
greater than `64`, the sleep interval will overflow and immediately
begin retrying in rapid succession. This commit corrects the backoff
algorithm and adds test for both "retry operation" functions.
@meiji163
Copy link
Contributor

Thanks for the bug fix!

@meiji163 meiji163 merged commit 2ea0e60 into github:master Feb 10, 2025
8 checks passed
@burnison burnison deleted the exponential_backoff_no_overflow branch February 12, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants