Skip to content

Conversation

olavloite
Copy link
Collaborator

@olavloite olavloite commented Sep 26, 2025

Adds a transaction_timeout connection property. This property can be set either in the JDBC connection URL or by executing a statement like SET transaction_timeout = '5s';

The transaction timeout is the total time that a read/write transaction may take from start to end. If the transaction is not able to finish within the given timeout, then it will fail with a DEADLINE_EXCEEDED error.

@olavloite olavloite requested review from a team as code owners September 26, 2025 15:55
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Sep 26, 2025
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. and removed size: s Pull request size is small. labels Sep 26, 2025
rahul2393
rahul2393 previously approved these changes Sep 26, 2025
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Sep 26, 2025
Adds a transaction_timeout connection property. This property can be set either in the
JDBC connection URL or by executing a statement like `SET transaction_timeout = '5s';`

The transaction timeout is the total time that a read/write transaction may take from
start to end. If the transaction is not able to finish within the given timeout, then
it will fail with a DEADLINE_EXCEEDED error.
@gcf-merge-on-green gcf-merge-on-green bot merged commit 092df54 into main Sep 27, 2025
26 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 Sep 27, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the transaction-timeout branch September 27, 2025 03:06
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-jdbc API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants