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

Bind keys on the fly. #132

Merged
merged 2 commits into from May 24, 2022
Merged

Conversation

nimf
Copy link
Collaborator

@nimf nimf commented May 18, 2022

Previously, if GcpManagedChannel didn't get a key from a bind call, then it will always return the least busy channel for the key effectively providing no affinity.

But it is not guaranteed that GcpManagedChannel will have a key from a bind call. E.g., an affinity key may be obtained by the upstream by other means.

After this change a key will be mapped to a channel on a bind call or on the first use.

Previously, if GcpManagedChannel didn't get a key from a bind call, then it will always return the least busy channel for the key effectively providing no affinity.

But it is not guaranteed that GcpManagedChannel will have a key from a bind call. E.g., an affinity key may be obtained by the upstream by other means.

After this change a key will be mapped to a channel on a bind call or on the first use.
@nimf nimf requested a review from mohanli-ml May 18, 2022 23:34
@nimf nimf merged commit 9ec2aa5 into GoogleCloudPlatform:master May 24, 2022
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

2 participants