-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
1
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
https://github.com/mongodb/node-mongodb-native/pull/4847
The method had a premature return statement inside the for loop:
closeCheckedOutConnections() {
for (const server of this.s.servers.values())
}
This caused the method to:
Get the first server from the servers Map
Call closeCheckedOutConnections() on it
Immediately return, skipping all remaining servers
- duplicates
-
NODE-7411 node-mongodb-native - PR #4847: fix: iterate all servers in closeCheckedOutConnections()
-
- Investigating
-