- Reference >
- JavaScript Methods >
- rs.freeze()
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 commandreplSetFreeze
.