summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/apply_ops.idl
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-09-14 17:17:39 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-14 18:45:53 +0000
commitf599ca57cd8476c88428a53b2d844fde0afbce5e (patch)
treed94de247a301928f96e3ee6f64eb3939a20fbf66 /src/mongo/db/repl/apply_ops.idl
parentcf379f81849b3f8f3d21f661b1eee25379c9a06a (diff)
downloadmongo-f599ca57cd8476c88428a53b2d844fde0afbce5e.tar.gz
SERVER-67116 Remove support for 'preCondition' from applyOps command
Diffstat (limited to 'src/mongo/db/repl/apply_ops.idl')
-rw-r--r--src/mongo/db/repl/apply_ops.idl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/repl/apply_ops.idl b/src/mongo/db/repl/apply_ops.idl
index 792f6a63d1e..d9a1e17fb1f 100644
--- a/src/mongo/db/repl/apply_ops.idl
+++ b/src/mongo/db/repl/apply_ops.idl
@@ -64,9 +64,10 @@ structs:
cpp_name: preCondition
type: array<object>
optional: true
- description: "applyOps supports checking the documents of existing collections
- before proceeding to execute the given operations. This flag is set to
- true if the 'preCondition' option is provided."
+ description: "No longer supported, but kept here to improve the error message
+ returned to the client. In older versions, applyOps used to support
+ checking the documents of existing collections before proceeding to
+ execute the given operations."
prepare:
type: bool