GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(dbapi): add aborted transactions retry support by IlyaFaer · Pull Request #168 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@IlyaFaer

@IlyaFaer IlyaFaer commented Nov 12, 2020 •
edited by c24t
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Fixes #34.

See googleapis/python-spanner-django#544.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
IlyaFaer
feat(dbapi): add aborted transactions retry support
4d3097a
@IlyaFaer IlyaFaer added api: spanner Issues related to the googleapis/python-spanner API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Nov 12, 2020
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 12, 2020
IlyaFaer
use own ddl statements
90c1acc
@IlyaFaer
IlyaFaer marked this pull request as ready for review November 13, 2020 07:38
@IlyaFaer
IlyaFaer requested review from a team and c24t November 13, 2020 07:38
c24t
c24t reviewed Nov 17, 2020
View reviewed changes

@c24t c24t left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM with a few minor comments. I checked that this matches the diffs from googleapis/python-spanner-django#544 and googleapis/python-spanner-django#543, see the comments there for more info.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google/cloud/spanner_dbapi/checksum.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/spanner_dbapi/connection.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_system.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/spanner_dbapi/test_checksum.py
@@ -0,0 +1,63 @@
# Copyright 2020 Google LLC

@c24t c24t Nov 17, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Another packaging thing to consider: we might want to move all the DBAPI tests under google/cloud/spanner_dbapi/tests/ so the code and tests live in the same package.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@c24t c24t mentioned this pull request Nov 17, 2020
feat: support aborted transactions internal retry googleapis/python-spanner-django#544
Closed
IlyaFaer added 2 commits November 18, 2020 10:50
IlyaFaer
fix licenses
1f5a677
IlyaFaer
move dbapi tests into standalone file
493377b
larkee
larkee approved these changes Nov 23, 2020
View reviewed changes

@larkee larkee left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@c24t
Merge branch 'master' into transaction_retry
3792838
@c24t
c24t merged commit d59d502 into googleapis:master Nov 23, 2020
@IlyaFaer
IlyaFaer deleted the transaction_retry branch November 25, 2020 09:45
gcf-merge-on-green Bot pushed a commit that referenced this pull request Nov 30, 2020
@release-please
chore: release 2.1.0 (#173)
cf87cdf
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.1.0](https://www.github.com/googleapis/python-spanner/compare/v2.0.0...v2.1.0) (2020-11-24)


### Features

* **dbapi:** add aborted transactions retry support ([#168](https://www.github.com/googleapis/python-spanner/issues/168)) ([d59d502](https://www.github.com/googleapis/python-spanner/commit/d59d502590f618c8b13920ae05ab11add78315b5)), closes [#34](https://www.github.com/googleapis/python-spanner/issues/34) [googleapis/python-spanner-django#544](https://www.github.com/googleapis/python-spanner-django/issues/544)
* remove adding a dummy WHERE clause into UPDATE and DELETE statements ([#169](https://www.github.com/googleapis/python-spanner/issues/169)) ([7f4d478](https://www.github.com/googleapis/python-spanner/commit/7f4d478fd9812c965cdb185c52aa9a8c9e599bed))


### Bug Fixes

* Add sqlparse dependency ([#171](https://www.github.com/googleapis/python-spanner/issues/171)) ([e801a2e](https://www.github.com/googleapis/python-spanner/commit/e801a2e014fcff66a69cb9da83abedb218cda2ab))


### Reverts

* Revert "test: unskip list_backup_operations sample test (#170)" (#174) ([6053f4a](https://www.github.com/googleapis/python-spanner/commit/6053f4ab0fc647a9cfc181e16c246141483c2397)), closes [#170](https://www.github.com/googleapis/python-spanner/issues/170) [#174](https://www.github.com/googleapis/python-spanner/issues/174)
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
This was referenced Mar 31, 2026
feat(dbapi): wire timeout parameter through to execute_sql in cursor and connection googleapis/google-cloud-python#16492
Open
feat(dbapi): wire timeout parameter through Connection to execute_sql #1535
Closed
feat(dbapi): add retry_aborts_internally option to disable internal statement-replay retry googleapis/google-cloud-python#16491
Open
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@c24t c24t c24t left review comments
@larkee larkee larkee approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Transaction: on retry, replays should compare checksums of prior numbered statements that succeeded

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@IlyaFaer @larkee @c24t
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.