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

chore(spanner): support transaction channel hint for RW mux#3317

Merged
harshachinta merged 2 commits intogoogleapis:mainfrom
harshachinta:mux-rw-1
Sep 4, 2024
Merged

chore(spanner): support transaction channel hint for RW mux#3317
harshachinta merged 2 commits intogoogleapis:mainfrom
harshachinta:mux-rw-1

Conversation

@harshachinta
Copy link
Copy Markdown
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 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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