Skip to content

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

Merged
voidzcy merged 5 commits into
grpc:masterfrom
voidzcy:bugfix/immediately_propagate_picker_selecting_base_on_updated_config
Jul 22, 2020
Merged

xds: routing policy should immediately update a picker that selects base on updated config#7233
voidzcy merged 5 commits into
grpc:masterfrom
voidzcy:bugfix/immediately_propagate_picker_selecting_base_on_updated_config

Conversation

@voidzcy

@voidzcy voidzcy commented Jul 17, 2020

Copy link
Copy Markdown
Contributor

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.

@voidzcy
voidzcy requested a review from dapengzhang0 July 18, 2020 00:01
@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.

4 participants