-
Notifications
You must be signed in to change notification settings - Fork 57
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
jdbc input errors at start-up prevent pipeline termination/reloading #80
Comments
A deadlock related to ReentrantLock is involved in the issue with invalid password setting. Input plugin start scheduler to connect database with lock, however, open_jdbc_connection() fail and it is not in begin ensure. The plugin retried forever. thread run thread reload (update Central pipeline managment) thread stop (^C) |
* Fix connection lock to unblock pipeline reload * update to logstash-devutils 2.3.0 Fixed: #80
Connectivity issues in during startup of jdbc input such as an invalid password are retried forever.
During these retries the status of
stop?
is never checked so the pipeline blocks reloadings.The issue comes from the rufus scheduler by default catching exceptions in the jobs it executes. It's necessary to catch these exceptions and terminate the scheduler if the pipeline is terminating.
The text was updated successfully, but these errors were encountered: