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

Resolver has separate error for fetching service config #1475

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Nov 9, 2021

Address feedback from load balancing proposal. Resolver can resolve a service config as well as addresses. A separate error should be specified to allow fallback behavior when just the service config has an error.

@JamesNK
Copy link
Member Author

JamesNK commented Nov 14, 2021

ping @captainsafia

Copy link
Contributor

@captainsafia captainsafia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sensible overall based on my understanding of the updates to the spec.

Minor comments to make readability a little better.

test/Grpc.Net.Client.Tests/Balancer/ResolverTests.cs Outdated Show resolved Hide resolved
src/Grpc.Net.Client/Balancer/Internal/ConnectionManager.cs Outdated Show resolved Hide resolved
src/Grpc.Net.Client/Balancer/Internal/ConnectionManager.cs Outdated Show resolved Hide resolved
src/Grpc.Net.Client/Balancer/Internal/ConnectionManager.cs Outdated Show resolved Hide resolved
src/Grpc.Net.Client/Balancer/Internal/ConnectionManager.cs Outdated Show resolved Hide resolved
@JamesNK JamesNK force-pushed the jamesnk/resolver-serviceconfig-error branch from cf9fedb to d36707e Compare November 16, 2021 07:19
@JamesNK JamesNK force-pushed the jamesnk/resolver-serviceconfig-error branch from d36707e to b1156d3 Compare November 16, 2021 07:38
@JamesNK JamesNK changed the title Allow resolver to specify separate error for fetching service config Resolver has separate error for fetching service config Nov 16, 2021
@JamesNK JamesNK merged commit e48a036 into grpc:master Nov 16, 2021
@JamesNK JamesNK deleted the jamesnk/resolver-serviceconfig-error branch November 16, 2021 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants