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
[lb pick_first] Enable random shuffling of address list #33254
[lb pick_first] Enable random shuffling of address list #33254
Conversation
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.
This looks like a good start!
Please let me know if you have any questions. Thanks!
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
This should help you get an idea of how to write the tests for #33254.
…#33255) This should help you get an idea of how to write the tests for grpc#33254.
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.
Thank you for the reviews!
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
Unit test should be fixed now. This PR is ready for review. |
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.
Thank you for the review! Updated.
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
d813ab1
to
c74aea1
Compare
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
Automated fix for refs/heads/tasks/pick-first/shuffle-config
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.
Thank you for the reviews!
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc
Outdated
Show resolved
Hide resolved
Automated fix for refs/heads/tasks/pick-first/shuffle-config
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.
Just a couple of remaining issues here.
Please let me know if you have any questions. Thanks!
…#33255) This should help you get an idea of how to write the tests for grpc#33254.
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.
Thank you for the reviews. Please take another look.
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.
Thank you! Updated
Automated fix for refs/heads/tasks/pick-first/shuffle-config
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.
Looks great!
…st (grpc#33254)" (grpc#33496)" This reverts commit d59c8eb.
Part of gRFC A62.