Skip to content

Conversation

olavloite
Copy link
Collaborator

When a transaction is rolled back to a savepoint instead of rolled back entirely, the transaction span should not be ended, as the transaction continues to live.

When a transaction is rolled back to a savepoint instead of rolled back entirely,
the transaction span should not be ended, as the transaction continues to live.
@olavloite olavloite requested a review from a team as a code owner June 21, 2024 07:40
@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 Jun 21, 2024
@olavloite olavloite requested a review from rahul2393 June 21, 2024 07:40
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner June 21, 2024 07:43
@olavloite olavloite merged commit 8ec0cf2 into main Jun 21, 2024
@olavloite olavloite deleted the do-not-end-tx-span-on-rollback-to-savepoint branch June 21, 2024 10:53
surbhigarg92 pushed a commit to surbhigarg92/java-spanner that referenced this pull request Jul 3, 2024
…leapis#3167)

* fix: do not end transaction span when rolling back to savepoint

When a transaction is rolled back to a savepoint instead of rolled back entirely,
the transaction span should not be ended, as the transaction continues to live.

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[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 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