Explain how long does replica set failover take?

Submitted by: Administrator
It may take 10-30 seconds for the primary to be declared down by the other members and a new primary elected. During this window of time, the cluster is down for "primary" operations – that is, writes and strong consistent reads. However, you may execute eventually consistent queries to secondaries at any time (in slaveOk mode), including during this window.
Submitted by: Administrator

Read Online MongoDB Job Interview Questions And Answers