[CONJS-233] Pool conn.release() doesn't reset the connection Created: 2022-12-05  Updated: 2023-01-12  Resolved: 2023-01-12

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other
Affects Version/s: 3.0.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Tom Miller Assignee: Diego Dupin
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Ubuntu Linux,
mariadb Ver 15.1 Distrib 10.6.7-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Connector 3.0.2



 Description   

UPDATE: Found bug in my code: renaming/standardizing naming convention for the conn to mdbConn and missed one.

Using await / sync
Simple select
No transaction
running in a loop, tracking active and idle. Once a connection is used stays active and never returns to idle.

finally block I have tried:

  • conn.release()
  • conn.end(); conn.release();

More detailed info here.


Generated at Thu Feb 08 03:23:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.