applyOps (original) (raw)
applyOps
Applies specified oplog entries to a mongodinstance. The applyOps command is an internal command.
This command is available in deployments hosted in the following environments:
- MongoDB Enterprise: The subscription-based, self-managed version of MongoDB
- MongoDB Community: The source-available, free-to-use, and self-managed version of MongoDB
Warning
This command obtains a global write lock and will block other operations until it has completed.
If the specified oplog entries containcollection UUIDs, executing this command requires both the useUUID and forceUUIDprivileges on the cluster resource to which the oplog entries are attempting to be written.