This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mongos): fix connection leak when mongos reconnects
Our mongos reconnect logic involved creating a new Server+Pool per proxy per iteration of the reconnect logic. These instances were never cleaned up, resulting in a huge number of connections when the proxies finally reconnected. Fixes NODE-1403
- Loading branch information
1 parent
e9bef43
commit 2453746
Showing
2 changed files
with
13 additions
and
3 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
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