Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
3.3.3
-
None
-
Empty show more show less
Description
Hello!
We have observed strange behaviour after mongo-driver upgrade from 2.2.x to 3.3.x.
Connection string has journal=true and it is ignored when making queries.
const connectionUri =
|
'mongodb://mongo1:30000,mongo2:30001,mongo3:30002/ec?w=majority&journal=true&replicaSet=rs0&readPreference=primaryPreferred&wtimeoutMS=5000'; |
const client = await MongoClient.connect(connectionUri);
|
From the other side, using explicit `
{j: true}` starts working.
const client = await MongoClient.connect(connectionUri, {j: true}); |