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

test(spanner): return err from tx #2509

Merged
merged 1 commit into from
Jun 25, 2020
Merged

test(spanner): return err from tx #2509

merged 1 commit into from
Jun 25, 2020

Conversation

olavloite
Copy link
Contributor

A read/write transaction should always return any error to the transaction runner and let it determine whether it should be returned to the user application, or it should cause a transaction retry. Failing to do so, can cause the transaction to fail sometimes with an Aborted error.

Fixes #2486

A read/write transaction should always return any error to the
transaction runner and let it determine whether it should be
returned to the user application, or it should cause a transaction
retry. Failing to do so, can cause the transaction to fail
sometimes with an Aborted error.

Fixes #2486
@olavloite olavloite requested a review from skuruppu as a code owner June 24, 2020 08:33
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 24, 2020
Copy link
Contributor

@hengfengli hengfengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@olavloite olavloite merged commit 5637c4f into master Jun 25, 2020
@olavloite olavloite deleted the issue-2486 branch June 25, 2020 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spanner: TestIntegration_DML failed
3 participants