[CONJS-176] Change Pool cluster default option removeNodeErrorCount value to Infinity Created: 2021-09-14  Updated: 2021-09-14  Resolved: 2021-09-14

Status: Closed
Project: MariaDB Connector/node.js
Component/s: configuration, documentation
Affects Version/s: None
Fix Version/s: 3.0.0-rc

Type: Task Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 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.


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