Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

fix: add stream name to every request when connection is created during multiplexing#2699

Merged
GaoleMeng merged 10 commits intogoogleapis:mainfrom
GaoleMeng:main
Oct 9, 2024
Merged

fix: add stream name to every request when connection is created during multiplexing#2699
GaoleMeng merged 10 commits intogoogleapis:mainfrom
GaoleMeng:main

Conversation

@GaoleMeng
Copy link
Copy Markdown
Contributor

fix: this is not required, but we may want to add this as extra safety to make sure every request is landed onto the correct table.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@GaoleMeng GaoleMeng requested review from a team and tswast October 8, 2024 21:28
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Oct 8, 2024
@GaoleMeng GaoleMeng requested a review from yirutang October 8, 2024 21:29
// We will get the request as the pattern of:
// (writer_stream: t1, schema: schema1)
// (writer_stream: _, schema: _)
// (writer_stream: t1, schema: _)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How do we know we are multiplexed before the actual switch?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the connection would be created via connectionPool

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

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants