Skip to content

Fix retry race condition (1.62.x backport) #11034

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

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

larry-safran
Copy link
Contributor

Future.cancel can return true when the executable has started, but the future value hasn't yet been set which was causing us to do an extra decrement. That is what was causing DriveSimControllerRuleTest to fail with the first attempt to fix the retry deadlock.

Backport of #11026

@larry-safran larry-safran merged commit 3322700 into grpc:v1.62.x Mar 22, 2024
@larry-safran larry-safran deleted the backport-retry_2-1.62 branch March 22, 2024 21:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
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