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

Fix retry race condition (1.63.x backport) #11033

Merged
merged 1 commit into from
Mar 26, 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 added this to the 1.63 milestone Mar 22, 2024
@larry-safran larry-safran added kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary and removed kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run labels Mar 22, 2024
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Mar 26, 2024
@larry-safran larry-safran merged commit 463346c into grpc:v1.63.x Mar 26, 2024
9 of 10 checks passed
@larry-safran larry-safran deleted the backport-retry_2-1.63 branch March 26, 2024 17:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 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.

3 participants