Skip to content

chore(spanner): handle commit retry protocol extension for mux rw #3449

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

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

harshachinta
Copy link
Contributor

@harshachinta harshachinta commented Nov 7, 2024

In a read-write transaction using a multiplexed session with (read/query + mutation) operations, the CommitResponse from the backend during the commit RPC may include a MultiplexedSessionRetry field (indicated by a precommit token). This field signals that the commit RPC should be retried once using the new precommit token. During this retry, mutations should not be resent, as they were already buffered in spanFE during the initial commit RPC call.

@harshachinta harshachinta requested a review from a team as a code owner November 7, 2024 12:39
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Nov 7, 2024
@harshachinta harshachinta added the automerge Merge the pull request once unit tests and other checks pass. label Nov 11, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 015bd98 into googleapis:main Nov 11, 2024
31 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Nov 11, 2024
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: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants