Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slaveOk=true #78

Open
Blaumeiser opened this issue Sep 1, 2011 · 0 comments
Open

slaveOk=true #78

Blaumeiser opened this issue Sep 1, 2011 · 0 comments

Comments

@Blaumeiser
Copy link

Hi,

I can't find a way to use slaveOk=true in a replicaset. In case the primary changes I simply get a "not primay and not slaveOk=true"-error message.

What is the recommended way for a replica set-connection string? (normal mongodb://host1,host2/db?slaveOk=true does not work)

Joerg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant