-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
Using a URL of the form
mongodb://u:p@shard-00-00.mongodb.net:27017,shard-00-01.mongodb.net:27017,shard-00-02.mongodb.net:27017/dbname?ssl=true&replicaSet=shard-0&authSource=admin&readPreference=nearest&w=majority&readConcern=majority
and specifying _
{useNewURLParser: true}_ in the connect options leads to calls being rejected with the error message
Unrecognized option in readConcern: 0 code:72 codeName:InvalidOptions
Remove _
{useNewURLParser: true}_ and everything works fine
- is caused by
-
NODE-1723 Handle unsupported option "readConcern" in new url parser
- Closed