The solution to Homework 6.2 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.2

Let’s suppose you have a five-member replica set and want to assure that writes are committed to the journal and are acknowledged by at least 3 nodes before you proceed forward. What would be the appropriate settings for w and j?  

Solution: w=”majority”

hw6.2answer
Previous articleThe solution to Homework 6.1 M101JS: MongoDB for Node.js Developers
Next articleThe solution to Homework 6.3 M101JS: MongoDB for Node.js Developers

LEAVE A REPLY

Please enter your comment!
Please enter your name here