On this page本页内容
rs.freeze(seconds)
Makes the current replica set member ineligible to become primary for the period specified.使当前副本集成员在指定的时间段内不符合成为primary的资格。
The rs.freeze()
method has the following parameter:rs.freeze()
方法具有以下参数:
seconds | number |
rs.freeze()
provides a wrapper around the database command 提供了数据库命令replSetFreeze
.replSetFreeze
的包装。