Skip to content

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

Merged
murgatroid99 merged 2 commits intogrpc:masterfrom
murgatroid99:grpc-js_pick_first_update
Jul 31, 2023
Merged

grpc-js: Implement pick_first sticky TF and address list shuffling#2511
murgatroid99 merged 2 commits intogrpc:masterfrom
murgatroid99:grpc-js_pick_first_update

Conversation

@murgatroid99
Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants