--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/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 mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
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/7d2534ea-be8d-4c33-96c3-209714cf677b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 20 Jan 2016 19:14, "HubertBubert" <hly...@gmail.com> wrote:
> And this makes sense. Becouse there must be a time limit for waiting for hearbeat from another member. And this is the limit.
>
There must be a limit, and this is exactly what electionTimeoutMillis does.
I should also note the improved predictability of protocol version v1. In prior versions of Mongodb, there were many different timeouts to trigger failover. (Not all of them configurable.) In v1, you can expect the timeout to be at most electionTimeoutMillis.
Henrik