Docs Menu
Docs Home
/
MongoDB Manual
/ / /

replSetAbortPrimaryCatchUp

On this page

  • Definition
  • Syntax
replSetAbortPrimaryCatchUp

The replSetAbortPrimaryCatchUp command forces the elected primary member of the replica set to abort sync (catch up) then complete the transition to primary.

The command has the following syntax:

db.runCommand(
{
replSetAbortPrimaryCatchUp: 1
}
)

Back

hello

On this page