I wasn’t sure if this is the correct section to post this in, so apologies if it’s wrong here.
After updating to Node js driver 3.6.3 some errors occur to our logs:
[ERROR] MongoError: not master and slaveOk=false
This error occurs daily in logs.
The configuration for connection is set with: " “readPreference”: “secondaryPreferred”,".
I am not sure if it is due to node.js driver upgrade or we have some other problems. But we inspect mongo logs and it does not have any failover or other similar issues.
Until now, we do not have this kind of logs.
Do you have any suggestions?