Skip to content

Conversation

@harshachinta
Copy link
Contributor

For regular sessions we maintain session to channel affinity. However, for multiplexed sessions we will need transaction to channel affinity.
This PR adds support for passing transaction channel hint for R/W transactions. This is needed to support multiplexed sessions in RW transactions. Without this change there will be impact on RW latencies.

@harshachinta harshachinta requested a review from a team as a code owner September 3, 2024 05:49
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner API. labels Sep 3, 2024
@harshachinta harshachinta merged commit 6004c9f into googleapis:main Sep 4, 2024
lqiu96 pushed a commit that referenced this pull request Sep 19, 2024
* chore(spanner): add transaction channel hint for RW to support multiplexed sessions

* chore(spanner): lint fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants