Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retries:Remove early commit for transparent retries with none remaining. #10066

Merged
merged 2 commits into from Apr 19, 2023

Conversation

larry-safran
Copy link
Contributor

RetriableStream was trying to do an optimization by doing early commits when there were not going to be any further explicit retries, but it should never have been done. This is removing the optimization and reversing the test that checked for an early commit.

Fixes #10011

@larry-safran larry-safran merged commit 7255c8d into grpc:master Apr 19, 2023
14 checks passed
@larry-safran larry-safran deleted the is10011 branch April 19, 2023 20:43
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Apr 19, 2023
@ejona86
Copy link
Member

ejona86 commented Apr 19, 2023

@larry-safran, let's backport this to 1.54, 1.53, and 1.50. We won't do releases, but if we do a release for another reason, they'll be there.

larry-safran added a commit to larry-safran/grpc-java that referenced this pull request Apr 19, 2023
…ng. (grpc#10066)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes grpc#10011
larry-safran added a commit to larry-safran/grpc-java that referenced this pull request Apr 19, 2023
…ng. (grpc#10066)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes grpc#10011
larry-safran added a commit to larry-safran/grpc-java that referenced this pull request Apr 19, 2023
…ng. (grpc#10066)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes grpc#10011
larry-safran added a commit that referenced this pull request Apr 19, 2023
…ng. (#10066) (#10082)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes #10011
larry-safran added a commit that referenced this pull request Apr 19, 2023
…ng. (#10066) (#10081)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes #10011
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Apr 20, 2023
larry-safran added a commit that referenced this pull request Apr 21, 2023
…ng. (#10066) (#10080)

* retries:Remove early commit for transparent retries when no retries or no hedging remain.

Fixes #10011
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2023
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.

retries: Early commit can break transparent retries
3 participants