googleapis / python-spanner-sqlalchemy

Apache License 2.0
38 stars 28 forks source link

Document how sqlalchemy handles transaction aborts or the best practice to handle transaction aborts (for the readwrite transactions) #246

Closed yuanyuan-gl closed 2 years ago

yuanyuan-gl commented 2 years ago

Could you please help document the best practice to handle transaction aborts and the errors like “The transaction was aborted and could not be retried due to a concurrent modification.” There were multiple support cases asking about this.

Thanks!

asthamohta commented 2 years ago

We are about to merge this: https://github.com/googleapis/python-spanner-sqlalchemy/pull/243 Thanks for reaching out!