Skip to content
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

Change PickFirstLeafLoadBalancer to only have 1 subchannel at a time #11520

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

larry-safran
Copy link
Contributor

Hide behind environment variable GRPC_SERIALIZE_RETRIES

This is for testing with GMS core to see if they use the new PF with only 1 subchannel at a time trying to reconnect whether that eliminates their 6% data increase.

…if environment variable GRPC_SERIALIZE_RETRIES == true.
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sending what I have. I'll need to look at this more later.

}

if (reconnectPolicy == null) {
reconnectPolicy = bkoffPolProvider.get();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the field is initialized here, but it isn't ever cleared on success. InternalSubchannel does that in cancelReconnectTask().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a clear in shutdownRemaining()

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