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: stop preparing session on most errors #181

Merged
merged 1 commit into from Apr 28, 2020

Commits on Apr 26, 2020

  1. fix: stop preparing session on most errors

    Most errors that occur during preparing a session for a read/write
    transaction should be considered permanent, and should stop the
    automatic preparing of sessions. Any subsequent call to get a read/write
    session will cause an in-process BeginTransaction RPC to be executed. If
    the problem has been fixed in the meantime, the RPC will succeed and the
    automatic prepare of sessions will start again. Otherwise, the error is
    propagated to the user.
    
    Fixes #177
    olavloite committed Apr 26, 2020
    Copy the full SHA
    3cfe106 View commit details
    Browse the repository at this point in the history