You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ReactiveMongo - http://reactivemongo.org
Hello,
I'm trying to configure the way my application using ReactiveMongo
reconnects to the DB after connection failure, but am struggling to
understand the way everything works. I see two ways to get there -
either there's a configuration on ReactiveMongo's side or I can
intercept an exception if ReactiveMongo is throwing one on connection
failure.
Here are the points that are unclear to me:
1. Is connection state monitored or is it checked once an operation is
executed?
2. Is there an exception generated once connection is lost? I don't seem
to be getting any.
3. Is connection failure a RetryableFailure which should then be
intercepted in Failover and retried? If not, is there a way to specify
some sort of retry strategy?