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

grpclb: fallback timer only when not already using fallback backends (v1.38.x backport) #8651

Merged
merged 1 commit into from Nov 3, 2021

Conversation

temawi
Copy link
Contributor

@temawi temawi commented Nov 3, 2021

Addresses a problem where we initially only resolve addresses to the backends, but not the load balancer and then later resolve addresses to both. In this situation the fallback timer was started during the second instance even if it resulted in the timer later failing as we were already using fallback backends.

This change assures that a fallback time is only ever started if we are not already using the fallback backends.

This is a follow-up fix to #8253.

…grpc#8646)

Addresses a problem where we initially only resolve addresses to the backends, but not the load balancer and then later resolve addresses to both. In this situation the fallback timer was started during the second instance even if it resulted in the timer later failing as we were already using fallback backends.

This change assures that a fallback time is only ever started if we are not already using the fallback backends.

This is a follow-up fix to grpc#8253.
@temawi temawi requested a review from ejona86 November 3, 2021 16:35
@ejona86 ejona86 changed the title grpclb: fallback timer only when not already using fallback backends (v1.42.x backport) grpclb: fallback timer only when not already using fallback backends (v1.38.x backport) Nov 3, 2021
@temawi temawi enabled auto-merge (squash) November 3, 2021 16:44
@temawi temawi merged commit 343c5ed into grpc:v1.38.x Nov 3, 2021
@temawi temawi deleted the v1.38.x-grpclb-fallback-timer-fix branch November 3, 2021 17:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2022
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.

None yet

2 participants