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

option `restoreNodeTimeout` is not respected when removeNodeErrorCount is set

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: cluster
    • Labels:
      None

      Description

      Goal is to correct wrong behaviour when setting restoreNodeTimeout: cluster isn't blacklisting node if the option "removeNodeErrorCount" was set, only after number of error reach "removeNodeErrorCount" value.

      Correction is to make that corresponds to documentation: when a node fails, it will be blacklisted, so the connection will be done on other nodes. If "removeNodeErrorCount" value is set and reached, the node will be removed.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: