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

wrong pool 'connection' event object

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      from https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/342

      When a user registers a pool.on('connection') event handler that throws, the pool enters an infinite connection creation retry loop, creating far more connections than connectionLimit allows and leaking TCP connections.

      additionally : the returned connection object is the raw connection object, without the callback or promise wrapper, making it not usable, so conn.query will throw an error

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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