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 prepared statement reconnect issue #25

Merged
merged 3 commits into from
May 20, 2020

Commits on May 20, 2020

  1. Fix prepared statement reconnect issue

    This commit fixes an issue where, if the connection between Logstash
    and the database fails due to an attempt to use a closed prepared statement.
    This results in subsequent attempts to use a prepared statement
    failing when using scheduling, which can only be rectified by restarting Logstash.
    
    This commit resets the `statement_prepared` flag, which means that the
    prepared statement will be recreated upon the next scheduled run.
    
    This commit also adds a backtrace to log entries when this issue occurs to provide
    more visibility into the cause of the issue.
    robbavey committed May 20, 2020
    Configuration menu
    Copy the full SHA
    87e27a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8e63d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6dea695 View commit details
    Browse the repository at this point in the history