-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
clusterimpl: update picker synchronously on config update #7617
Closed
aranjans
wants to merge
7
commits into
grpc:master
from
aranjans:aranjans_clusterimpl_picker_update_1
Closed
clusterimpl: update picker synchronously on config update #7617
aranjans
wants to merge
7
commits into
grpc:master
from
aranjans:aranjans_clusterimpl_picker_update_1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aranjans
added
Type: Bug
Area: Resolvers/Balancers
Includes LB policy & NR APIs, resolver/balancer/picker wrappers, LB policy impls and utilities.
labels
Sep 11, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7617 +/- ##
==========================================
- Coverage 82.01% 81.92% -0.09%
==========================================
Files 361 361
Lines 27813 27819 +6
==========================================
- Hits 22812 22792 -20
- Misses 3822 3839 +17
- Partials 1179 1188 +9
|
aranjans
force-pushed
the
aranjans_clusterimpl_picker_update_1
branch
from
September 11, 2024 06:58
88b76a4
to
48dd6b2
Compare
aranjans
changed the title
clusterimpl: stop using gs.switchTo on child policy config update
clusterimpl: update picker synchronously on config update
Sep 11, 2024
Can we please ensure that any outstanding comments on #7567 are handled, and that the PR is merged before switching back to this. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Resolvers/Balancers
Includes LB policy & NR APIs, resolver/balancer/picker wrappers, LB policy impls and utilities.
Type: Bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#5469 recommends an audit of existing LB policies to ensure that they update their pickers synchronously upon receipt of a configuration update. clusterimpl does not update picker synchronously before because of multiple reasons, one is on reciept of configuration update, process of switching the child policies was aysnchronous, and second is it was not waiting for the child policy config to be update first, before returning from
UpdateClientConnState
.What does this PR do?
This PR ensures that every time configuration update is triggered, picker is updated synchronously.
RELEASE NOTES: