I am using nodejs and I have a connection URL:
config.mongodb.url = 'mongodb://test-mongodb-2,test-mongodb-1,test-mongodb-3:27017/test_db?replicaSet=test_rs';
If test-mongodb-2 is not the primary, the connection fails with:
not master and slaveOk=false
I am using the latest version of the driver: 2.1.21
Is there an option that I am missing?