Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-233

Pool conn.release() doesn't reset the connection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 3.0.2
    • N/A
    • other
    • None
    • 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.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            1222tmiller Tom Miller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.