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

xds: routing policy should immediately update a picker that selects base on updated config #7233

Conversation

voidzcy
Copy link
Contributor

@voidzcy voidzcy commented Jul 17, 2020

The routing LB policy should immediately the Channel's picker that delegates picking to the updated routes. Otherwise, new RPCs will keep being sent through old routes even if they are removed.

Also include minor changes as mentioned in #7203 (comment) and #7203 (comment).

Tests are improved. Although the routing LB policy will go away after ConfigSelector is implemented for xDS, it will be shipped in 1.31 release.

@dapengzhang0 dapengzhang0 added the TODO:backport PR needs to be backported. Removed after backport complete label Jul 21, 2020
@voidzcy voidzcy added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jul 21, 2020
@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 Jul 21, 2020
@voidzcy voidzcy closed this Jul 22, 2020
@voidzcy voidzcy reopened this Jul 22, 2020
@voidzcy voidzcy closed this Jul 22, 2020
@voidzcy voidzcy reopened this Jul 22, 2020
@voidzcy voidzcy merged commit e4215b4 into grpc:master Jul 22, 2020
voidzcy added a commit to voidzcy/grpc-java that referenced this pull request Jul 22, 2020
…ase on updated config (grpc#7233)

The routing LB policy should immediately the Channel's picker that delegates picking to the updated routes. Otherwise, new RPCs will keep being sent through old routes even if they are removed. This change also includes the fix for syncing state change for child balancers in deactivated state.
voidzcy added a commit that referenced this pull request Jul 22, 2020
…ase on updated config (backport v1.31.x) (#7233) (#7241)

The routing LB policy should immediately the Channel's picker that delegates picking to the updated routes. Otherwise, new RPCs will keep being sent through old routes even if they are removed. This change also includes the fix for syncing state change for child balancers in deactivated state.
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Aug 12, 2020
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
…ase on updated config (grpc#7233)

The routing LB policy should immediately the Channel's picker that delegates picking to the updated routes. Otherwise, new RPCs will keep being sent through old routes even if they are removed. This change also includes the fix for syncing state change for child balancers in deactivated state.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2021
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

4 participants