1.

rs.reconfig() provides a wrapper around the ___________ command.(a) replSetfinalReconfig(b) replSetReconfig(c) replSetReconfiguration(d) none of the mentionedThe question was posed to me during an interview for a job.This question is from Replication Processes topic in division Replication Concepts, Processes and Replication Set of MongoDB

Answer»

The correct answer is (b) replSetReconfig

Easy explanation: The FORCE PARAMETER in reconfig method allows a reconfiguration command to be ISSUED to a non-primary NODE.



Discussion

No Comment Found

Related InterviewSolutions