-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.12
-
Component/s: None
-
Environment:Ubuntu 16.04
node.js 6.3.2
mongodb server 3.0
mongodb node.js client 2.2.11
-
Empty show more show less
I have investigated and timeout event not emits, in this case:
for poolSize = 5, socketTimeoutMS=5000
1. connect to mongo and do many requests
2. mongo client open 5 sockets and nice work with them
3. block network to mongodb server
4. all sockets timed out not at the same time
5. In my case, 4 sockets timed out, event not emit because we have socketCount() > 0
6. after 1-2 seconds 5th socket timed out too, but socketCount() > 0 and timeout not emits, because we have 4 connecting sockets
- related to
-
NODE-864 close event not emits during network issues using single server topology
- Closed