Open HannaTrotsenko opened 4 months ago
The issue is caused by something killing the JVM before the code is trying to set up a JVM shutdown hook that would be closing the connection. https://github.com/elasticio/jdbc-component/blob/bc71063d0e1e9e6184aab5510e6318b87d693984/src/main/java/io/elastic/jdbc/utils/Utils.java#L70 The issue above took place on the staging server. We will keep monitoring the issue if it keeps happening on the production environment. Due to the complexity of finding out who/what has killed the JVM, my suggestion is leave the issue as is. If the issue will be raising more or less often, we should take a look more accurately. Otherwise, it can be ignored. As the only consequence is that the connection will be closed not by the code but by the DB server. It takes a bit longer, but not a big deal if it happens very rare.
Component Bug Report
Description
Unexpected error during flow execution
Logs:
Component Version
v2.5.8
Steps to Reproduce
Actual Result
error happened and no way to anderstand the reason
Expected Result
mo clear understang the sourse of error ?
Workaround(s)
[Any known workaround(s) to circumvent the above issue]