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

Improve pool error detection

    XMLWordPrintable

Details

    Description

      Goal of this task is to provide better error handling to pool.

      Error message content 'Error during pool initialization' or 'Pool fails to create connection' depending on if this occurs during initialization or during pool lives.

      Better connection error identification use 2 ways :

      • Adding new 'error' event to pool.
      • When pools doesn't have any connection, task reaching will throw connection error.

      Error was a common "retrieve connection from pool timeout after 10000ms" for example. Now error message will be explicit depending on the issue

      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:
              Resolved:

              Git Integration

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