Skip to content

Retries 2.1 std suggested delay computation#6915

Merged
dagnir merged 1 commit intofeature/master/2026-new-retriesfrom
dongie/2026-new-retries/std-suggested-delay-computation
Apr 30, 2026
Merged

Retries 2.1 std suggested delay computation#6915
dagnir merged 1 commit intofeature/master/2026-new-retriesfrom
dongie/2026-new-retries/std-suggested-delay-computation

Conversation

@dagnir
Copy link
Copy Markdown
Contributor

@dagnir dagnir commented Apr 28, 2026

Motivation and Context

For standard 2.1, there is additional treatment of the service suggested
backoff so it's at least as long as the strategy computed value, and not
longer than 5s more than the strategy computed value.

Modifications

  • Override computeBackoff() for standard retry strategy to implement 2.1 behavior.

Testing

  • New unit tests.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

For standard 2.1, there is additional treatment of the service suggested
backoff so it's at least as long as the strategy computed value, and not
longer than 5s more than the strategy computed value.
@dagnir dagnir force-pushed the dongie/2026-new-retries/std-suggested-delay-computation branch from 4d13b43 to 5a611ad Compare April 29, 2026 04:13
@dagnir dagnir changed the title WIP Retries 2.1 std suggested delay computation Apr 29, 2026
@dagnir dagnir marked this pull request as ready for review April 29, 2026 04:17
@dagnir dagnir requested a review from a team as a code owner April 29, 2026 04:17
@sonarqubecloud
Copy link
Copy Markdown

@dagnir dagnir merged commit 1612dd4 into feature/master/2026-new-retries Apr 30, 2026
31 of 33 checks passed
@dagnir dagnir deleted the dongie/2026-new-retries/std-suggested-delay-computation branch April 30, 2026 17:45
@github-actions
Copy link
Copy Markdown

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants