emqx / mongodb-erlang

MongoDB driver for Erlang
Apache License 2.0
9 stars 14 forks source link

fix #1581 mongodb connection got killed #3

Closed terry-xiaoyu closed 6 years ago

terry-xiaoyu commented 6 years ago

If one of auth.mongo.server configured in emq_auth_mongo.conf doesn't exist in db.isMaster().hosts, lots of errors will be printed:

[error] gen_server <0.1448.0> terminated with reason: killed