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

Create pubsub channels with correct unique-per-channel id #2798

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

chrisdunelm
Copy link
Contributor

This bug only becomes apparent with gRPC >=1.15.0 when the sub-channel sharing code changed.

This bug only becomes apparent with gRPC >=1.15.0 when the sub-channel sharing code changed.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 11, 2019
Copy link
Contributor

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

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

LGTM as far as I can tell. Just one question: now that each channel has its own options is there still need for the random arg?

@chrisdunelm
Copy link
Contributor Author

Yes, the options are compared by value, so each channel requires an option that is unique (the GUID in this case) to ensure subchannel sharing doesn't occur.

@chrisdunelm chrisdunelm merged commit e664cad into googleapis:master Jan 11, 2019
@chrisdunelm chrisdunelm deleted the pubsubchannels branch January 11, 2019 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants