Google News
logo
MongoDB - Interview Questions
What is primary and secondary replica set in MongoDB?
In MongoDB, primary nodes are the node that can accept write. These are also known as master nodes. The replication in MongoDB is single master so, only one node can accept write operations at a time.
 
Secondary nodes are known as slave nodes. These are read only nodes that replicate from the primary.
Advertisement