File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -648,6 +648,13 @@ terminated, an existing connection object cannot be re-connected by design.
648
648
With Pool, disconnected connections will be removed from the pool freeing up
649
649
space for a new connection to be created on the next getConnection call.
650
650
651
+ With PoolCluster, disconnected connections will count as errors against the
652
+ related node, incrementing the error code for that node. Once there are more than
653
+ ` removeNodeErrorCount ` errors on a given node, it is removed from the cluster.
654
+ When this occurs, the PoolCluster may emit a ` POOL_NONEONLINE ` error if there are
655
+ no longer any matching nodes for the pattern. The ` restoreNodeTimeout ` config can
656
+ be set to restore offline nodes after a given timeout.
657
+
651
658
## Performing queries
652
659
653
660
The most basic way to perform a query is to call the ` .query() ` method on an object
You can’t perform that action at this time.
0 commit comments