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

[v9] Fix infinite session heartbeat failures #16097

Merged
merged 2 commits into from Sep 2, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport #16065 to branch/v9

The session heartbeat loop wasn't checking if the context was
done, which resulted in an infinite loop of UpdateSession calls
that would never succeed and constantly trip the circuit breaker.

The context will only be cancelled if the session is terminated, so
we can simply return when either the context is done or the stop
channel was closed, whichever comes first.

Fixes #15695
@github-actions github-actions bot removed the request for review from LKozlowski September 2, 2022 16:00
@rosstimothy rosstimothy merged commit b7afb9c into branch/v9 Sep 2, 2022
@github-actions github-actions bot deleted the bot/backport-16065-branch/v9 branch September 2, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants