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

NotMasterNoSlaveOk #54

Open
valeriomazzeo opened this issue Jun 5, 2018 · 0 comments
Open

NotMasterNoSlaveOk #54

valeriomazzeo opened this issue Jun 5, 2018 · 0 comments

Comments

@valeriomazzeo
Copy link
Contributor

As described in orlandos-nl/MongoKitten#167

I keep randomly getting this error, not sure what could be the cause:

MongoKitten.MongoError.invalidResponse([{\"ok\":0.0,\"codeName\":\"NotMasterNoSlaveOk\",\"errmsg\":\"not master and slaveOk=false\",\"code\":13435}])

Environment:

  • Mongodb 3.4.14 (Cloud Atlas)
  • MongoKitten 4.0.19

Expected behaviour:

mongo-driver should shutdown MongoKitten's server object and try to reconnect on the next query.

@Joannis

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

No branches or pull requests

1 participant