-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.12.1
-
Component/s: Connection Layer
What problem are you facing?
High rate of reconnections
What driver and relevant dependency versions are you using?
NodeJS v18.12.1
MongoDB NodeJS Driver: 4.12.1
Steps to reproduce?
Connection string = mongodb://mongo.common?appName=alexa_ap&family=4&connectTimeoutMS=2500&socketTimeoutMS=5000&maxPoolSize=100&minPoolSize=50&w=0&readPreference=secondaryPreferred&journal=false&noDelay=true&useUnifiedTopology=true&useNewUrlParser=true&wtimeoutMS=250&retryReads=false&retryWrites=false&readConcernLevel=available&maxIdleTimeMS=300000&serverSelectionTimeoutMS=750&minHeartbeatFrequencyMS=2000&heartbeatFrequencyMS=20000
It is possible to observe the reconnections through MongoDB logs. The reconnections starts just after the driver initiate and without any loading.
- is cloned by
-
NODE-5097 Backport 4.x - High rate of reconnections due to Min Pool Size Check
- Closed