MongoDB Question:
Download Questions PDF

What is a secondary or slave?

Answer:

A secondary is a node/member which applies operations from the current primary. This is done by tailing the replication oplog (local.oplog.rs).
Replication from primary to secondary is asynchronous, however the secondary will try to stay as close to current as possible (often this is just a few milliseconds on a LAN).

Download MongoDB Interview Questions And Answers PDF

Previous QuestionNext Question
What is a master or primary?Explain do I have to call getLastError to make a write durable?