applyOps

On this page本页内容

Definition定义

applyOps

Applies specified oplog entries to a mongod instance. 将指定的oplog条目应用于mongod实例。The applyOps command is an internal command.applyOps命令是一个内部命令。

Behavior行为

Warning警告

This command obtains a global write lock and will block other operations until it has completed.此命令获取全局写锁,并将阻止其他操作,直到完成。

Required Access所需访问权限

If the specified oplog entries contain collection UUIDs, executing this command requires both the useUUID and forceUUID privileges on the cluster resource to which the oplog entries are attempting to be written.如果指定的oplog条目包含集合UUID,则执行此命令需要对oplog条目尝试写入的群集资源同时具有useUUIDforceUUID权限。

←  Replication Commandshello →