Navigation
This version of the manual is no longer supported.

rs.freeze()

rs.freeze(seconds)
Parameters:
  • seconds (init) – Specify the duration of this operation.

Forces the current node to become ineligible to become primary for the period specified.

rs.freeze() provides a wrapper around the database command replSetFreeze.

←   rs.conf() rs.help()  →