这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@olavloite
Copy link
Contributor

Use a fresh context without a timeout for the Rollback call when a transaction has failed. This prevents the Rollback from being skipped or cancelled if the original context's deadline has been exceeded. This again would lead to the locks that had been taken by the transaction to remain in place until Spanner releases these after 10 seconds.

Use a fresh context without a timeout for the Rollback call when a
transaction has failed. This prevents the Rollback from being skipped
or cancelled if the original context's deadline has been exceeded.
This again would lead to the locks that had been taken by the transaction
to remain in place until Spanner releases these after 10 seconds.
@olavloite olavloite requested review from a team as code owners September 17, 2025 10:35
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Sep 17, 2025
@olavloite olavloite requested a review from rahul2393 September 17, 2025 10:44
@olavloite olavloite merged commit 99c7eeb into main Sep 17, 2025
10 checks passed
@olavloite olavloite deleted the use-fresh-context-for-rollback branch September 17, 2025 15:57
rahul2393 pushed a commit that referenced this pull request Sep 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.86.0](spanner/v1.85.1...spanner/v1.86.0)
(2025-09-26)


### Features

* **spanner:** Support "readOnly" column tag parsing for Go struct
operations
([#12895](#12895))
([003abca](003abca))


### Bug Fixes

* **spanner:** Use fresh context for rollback
([#12897](#12897))
([99c7eeb](99c7eeb))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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 Spanner API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants