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
error after creating connection pool and being IDLE for a while #75
Comments
This seems to occur when a connection in pool close connection idle after reaching pool The problem here is that rollback command is normally done only if there is an existing transaction on connection but after pool.query or giving back a connection to pool, connection is reverted into a clean state, meaning that no rollback command is normally executed. I can think only on |
ommm, I didn't change any autocommit configurations. here is how I create the pool:
I call this method at the very beginning of my application and then I get a new connection from pool by calling ---- update ---- |
@rusher any idea? |
finally understood and reproduced. This won't have any incidence but having those ERRORs logged. |
hoooorrrraaaaayyyy |
Correction corresponds to this commit . When a connection from pool is not used for some time (>idleTimeout ) connection is closed (a QUIT command is issued, followed by a ROLLBACK / COM_RESET command if using callback implementation. ). |
hi I am getting this error after creating a connection pool and put application IDLE for a while (I mean don't do anything with application) and it keeps coming
what's the problem?
btw: I am using mariadb 2.1.0 with a combination of Electronjs and angular to creating a desktop application and the error looks like is shown from zone.js file; here is the full stack trace:
The text was updated successfully, but these errors were encountered: