MongoDB Question:
Download Questions PDF

Explain how long does replica set failover take?

Answer:

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.

Download MongoDB Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me why are my data files so large?What is a master or primary?