Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

grpc-js: Implement pick_first sticky TF and address list shuffling #2511

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

murgatroid99
Copy link
Member

@murgatroid99 murgatroid99 commented Jul 21, 2023

This implements the non-xDS parts of gRFC A62. I also took this as an opportunity to simplify some aspects of the pick_first LB policy implementation.

The new tests in test-pick-first.ts primarily test how the LB policy responds to connectivity state transitions and address list updates, because I think that's the trickiest part of the behavior. There are also a few tests specifically of the address list randomization functionality.

I omitted the environment variable protection for the address list randomization option because I believe it is sufficiently tested by the new tests.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants