-
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
rls: update picker synchronously on configuration update #7412
Conversation
33c5214
to
352d865
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7412 +/- ##
==========================================
- Coverage 81.96% 81.82% -0.15%
==========================================
Files 360 360
Lines 27533 27533
==========================================
- Hits 22568 22529 -39
- Misses 3780 3799 +19
- Partials 1185 1205 +20
|
352d865
to
b500c57
Compare
b500c57
to
c2046f5
Compare
c2046f5
to
e9997a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress since the last attempt!
0aff932
to
b2f4155
Compare
@arjan-bal I have updated the PR and referenced your comments in the code change. |
@arjan-bal thAnks for your review, I have updated the PR with your suggestions. |
4e14220
to
6c27bbd
Compare
fixes #7212.
Problem
#5469 recommends an audit of existing LB policies to ensure that they update their pickers synchronously upon receipt of a configuration update. RLS lb policy do updates the picker synchronously but misses out in one single corner case when there is a config change in cache size, where we need to send picker update in case any cache entry with valid backoff was evicted.
What does this PR do?
This PR handles that corner cases and make sure it updates the picker in all of the cases synchronously with config update of RLS lb policy.
RELEASE NOTES: