What is replica set in MongoDB?
A replica can be specified as a group of mongo instances that host the same data set. In a replica set, one node is primary, and another is secondary. All data is replicated from primary to secondary nodes. In MongoDB, a replica set is a group of MongoDB servers that maintain the same data set, … Read more