InterviewSolution
| 1. |
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. 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. |
|