Skip to content
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

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

Merged
merged 2 commits into from
Jun 21, 2024

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
33 of 34 checks passed
@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