-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.6.2
-
Component/s: None
-
Environment:Ubuntu 18.04
We just updated the Mongo driver to 3.6.2 and we are not able to connect with readPreference=secondary,
- We tried to change readPreference to primary that worked fine
- We tried to downgrade package to 3.5.7 that worked fine
- 3.6.2 not able to connect with same connection string which is working fine in 3.5.7
- Below is my connection string
- mongodb://username:password@mongodb-1.com:port,mongodb-2.com:port,mongodb-3.com:port/dev?replicaSet=rs1&readPreference=secondary&retrywrites=false