Docs Menu

Docs HomeDevelop ApplicationsMongoDB 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
}
)
←  helloreplSetFreeze →

On this page