Skip to content

Conversation

@olavloite
Copy link
Collaborator

If the first statement in a transaction carries an InlineBeginTransaction option, the transaction will be retried if the statement fails, as the RPC did not return a transaction ID. This retry can be skipped if the statement also carried the last_statement flag, as no more statements are allowed after that statement.

If the first statement in a transaction carries an InlineBeginTransaction option,
the transaction will be retried if the statement fails, as the RPC did not return
a transaction ID. This retry can be skipped if the statement also carried the
last_statement flag, as no more statements are allowed after that statement.
@olavloite olavloite requested review from a team as code owners October 31, 2025 09:12
@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 Oct 31, 2025
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Oct 31, 2025
@gcf-merge-on-green gcf-merge-on-green bot merged commit 54f4b5a into main Oct 31, 2025
41 of 42 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 Oct 31, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the skip-retry-if-last-statement-flag-is-set branch October 31, 2025 09:44
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.

4 participants