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: retry cancelled error on first statement in transaction #999

Merged
merged 2 commits into from Mar 22, 2021

Commits on Mar 19, 2021

  1. fix: retry cancelled error on first statement in transaction

    If the first statement of a read/write transaction fails with a CANCELLED error
    and the error message is `Read/query was cancelled due to the enclosing transaction
    being invalidated by a later transaction in the same session.`, then the transaction
    should be retried, as the error could be caused by a previous statement that was
    abandoned by the client but still executed by the backend. This could be the case
    if the statement timed out (on the client) or was cancelled.
    
    Fixes #938
    olavloite committed Mar 19, 2021
    Copy the full SHA
    a245d14 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Copy the full SHA
    3c5b5e1 View commit details
    Browse the repository at this point in the history