replSetFreezecommand prevents a replica set member from seeking election for the specified number of seconds. Use this command in conjunction with the
replSetStepDowncommand to make a different node in the replica set a primary.
replSetFreezecommand uses the following syntax:
If you want to unfreeze a replica set member before the specified number of seconds has elapsed, you can issue the command with a seconds value of
mongodprocess also unfreezes a replica set member.