We have a three node cluster...one primary and one secondary. Following error gets randomly thrown
when we have several writes per second
Error: no primary server found in set
We are using newer drivers
"mongodb": "1.2.13"
"mongoskin": "0.5.0"
We pass the following parameter to the driver.
{
"mongo_repl_set_hosts": ["hostname1:27017/?auto_reconnect=true", "hostname2:27017/?auto_reconnect=true","hostname3:27017/?auto_reconnect=true"],
"mongo_repl_set_options": {"read": "secondary", "auto_reconnect":true, safe: true}}
}
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.