keo
1
Hello, I would like to connect my Meteor app to a Mongo sharded cluster. I know that I’ll need to disable oplogs. But right now I’m unable to connect:
MONGO_URL=“mongodb://user:password@mongos1:27017,user:password@mongos2:27017/db”
“TypeError: Cannot read property ‘master’ of undefined”
Any idea? Or is it simply not possible?
etc
2
I’d love to get an answer to this as well. Running into the same issue.
keo
3
I had to
- modify mongo_driver.js (check db.serverConfig._state and doc existences)
- remove unique indices in db users (in Meteor.users._ensureIndex() calls) in accounts-base, accounts-oauth and accounts-password
Then Mongo sharded cluster will work with Meteor (without oplogs).