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(spanner): reset buffer after abort on first SQL statement #8440

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

olavloite
Copy link
Contributor

Reset the mutations buffer of a transaction if a transaction is retried after the first SQL statement in the transaction failed with aborted. This can happen on the emulator if the client tries to start multiple parallel read/write transactions on the emulator, which the emulator does not support.

Reset the mutations buffer of a transaction if a transaction is retried
after the first SQL statement in the transaction failed with aborted.
This can happen on the emulator if the client tries to start multiple
parallel read/write transactions on the emulator, which the emulator
does not support.
@olavloite olavloite requested review from a team as code owners August 18, 2023 07:32
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: spanner Issues related to the Spanner API. labels Aug 18, 2023
@olavloite olavloite merged commit d980b42 into main Aug 18, 2023
11 checks passed
@olavloite olavloite deleted the reset-buffer branch August 18, 2023 08:18
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. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants