-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replset): don't leak servers failing to connect
The change to include all connecting servers in the local `connectingServers` array lead to a "server leak" for nodes that we are not able to connect to. Now we track them, and only add new ones on a successful reconnect attempt. NODE-2270
- Loading branch information
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters