GeezerVison is showing github.com — feat: support multiplexed session for blind write with single use transaction by pratickchokhani · Pull Request #3229 · googleapis/java-spanner
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Conversation
With multiplexed sessions, the client optimizes and runs multiple applicable requests concurrently on a single session. A single multiplexed session is sufficient to handle all concurrent writeAtLeastOnce requests.
Normal read/write transactions always use regular sessions.
The use of multiplexed sessions can be enabled through the environment variable GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…blind writes (writeAtLeastOnce)
…o blind-write
# Conflicts:
# google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java
olavloite
changed the title
feat(spanner): support multiplexed session for blind write with single use transaction
feat: support multiplexed session for blind write with single use transaction
Aug 1, 2024
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…SPANNER_MULTIPLEXED_SESSIONS.
…lind write. This flag will be used by systest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with some minor nits on documentation.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lqiu96
pushed a commit
that referenced
this pull request
Sep 19, 2024
…nsaction (#3229)
* feat(spanner): support multiplexed session for blind write with single use transaction.
* test(spanner): added test for the support of multiplexed session for blind writes (writeAtLeastOnce)
* chore(spanner): lint
* fix(spanner): updated the adoption for blind write into GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS.
* chore: simplify code to make it easier to reuse for later additions
* feat(spanner): added flag to control use of multiplexed session for blind write. This flag will be used by systest.
* lint(spanner): javadoc fixes.
---------
Co-authored-by: Knut Olav Løite <[email protected]>
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Labels
api: spanner
Issues related to the googleapis/java-spanner API.
size: l
Pull request size is large.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.