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

Change Pool cluster default option removeNodeErrorCount value to Infinity

    XMLWordPrintable

Details

    Description

      Option `removeNodeErrorCount` has a default value of 5.
      This results in removing completly node after 5 unsuccessful attempt.

      This default value has been set for compatibility with mysql/mysql2 drivers,

      When a node doesn't respond, it is already blacklisted for some time, a better solution for new 3.x version is to have Infinity as default, and document that difference with other driver.

      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.