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

Backport of Add custom balancer to always remove subConns into release/1.14.x #15836

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #15701 to be assessed for backporting due to the inclusion of the label backport/1.14.

The below text is copied from the body of the original PR.


Fixes #10603

Description

Remove the need to call UpdateState twice by changing the pick_first balancer's behavior to close existing connections (almost) every time.

Testing & Reproduction steps

No net-new behavior; existing test TestClientConnPool_IntegrationWithGRPCResolver_Rebalance is still passing.

Manually tested with frequent rebalancing

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/kisunji/patched-pick-first-balancer/intensely-lucky-tahr branch from f527b23 to a545684 Compare December 19, 2022 17:40
Copy link
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit 0f52c25 into release/1.14.x Dec 19, 2022
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/kisunji/patched-pick-first-balancer/intensely-lucky-tahr branch December 19, 2022 17:50
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.

None yet

3 participants