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

[5.1] beginTransaction(): Reconnect if connection is lost #15511

Merged
merged 2 commits into from
Oct 13, 2016
Merged

[5.1] beginTransaction(): Reconnect if connection is lost #15511

merged 2 commits into from
Oct 13, 2016

Commits on Sep 19, 2016

  1. beginTransaction(): Reconnect if connection is lost

    If we're beginning a new transaction, we should check if the exception
    was caused by a lost connection. If so, then try again (like we do when
    when running a query/statement).
    
    We won't do a reconnect if it is a nested transaction though, because if
    the connection has been lost then the transaction has already been
    rolled back. (Queries/statements already won't try to reconnect if
    they're inside a transaction, either.)
    nhowell committed Sep 19, 2016
    Configuration menu
    Copy the full SHA
    695e4c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2016

  1. Configuration menu
    Copy the full SHA
    33c6f9a View commit details
    Browse the repository at this point in the history