[CONJS-84] option `restoreNodeTimeout` is not respected when removeNodeErrorCount is set Created: 2019-06-17  Updated: 2019-06-20  Resolved: 2019-06-20

Status: Closed
Project: MariaDB Connector/node.js
Component/s: cluster
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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.


Generated at Thu Feb 08 03:22:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.