MongoDB Question: Download MongoDB PDF

What is a secondary or slave?

Tweet Share WhatsApp

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 PDF Read All 39 MongoDB Questions
Previous QuestionNext Question
What is a master or primary?Explain do I have to call getLastError to make a write durable?