Google News
logo
MongoDB - Quiz(MCQ)
________ prevents the current member from seeking election as primary for a period of time.
A)
rs.conf()
B)
rs.freeze()
C)
secondary
D)
rs.printReplicationInfo()

Correct Answer :   rs.freeze()


Explanation : rs.freeze() makes the current replica set member ineligible to become primary for the period specified.

Advertisement