rs.freeze()

rs.freeze(seconds)
参数:
  • 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.

MongoDB Manual (Index)

关于

生态系统

格式

资源