For this connection string, there should be an option w = 1, which is used by default in later versions of the driver. In the connection string, it looks like this:
mongodb://localhost/?w=1
But this is the default value.
You write that “records fail” - how do you see it? For documents not in the database, or by getting errors? Let me know and I will update the answer.
source share