-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.3.3
-
Component/s: None
-
Empty show more show less
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});