Subject: [mongodb-user] What happens if the database is not
available?



Hello,

I'm using the mongodb scala driver and I'm concerned about what happens if the database is not available or there is an error during a db operation. For example, I had an observable print something when there is an error (onError method) while inserting something with the db shutted down, but the method is never called. Shouldn't an exception be thrown at the time I get a MongoConnection? Or the onError method called when I send an operation to a shutted down db?

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/d97f71e8-b1a1-422b-8ec9-db81b3eea9f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...



Programming list archiving by: Enterprise Git Hosting