summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/write_ops.idl')
-rw-r--r--src/mongo/db/ops/write_ops.idl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index 83f9b43359b..ca606f3cfad 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -149,6 +149,8 @@ structs:
chained_structs:
WriteCommandReplyBase: writeCommandReplyBase
+ # IMPORTANT: If any changes are made to the fields here, please update the corresponding size
+ # estimation functions in 'write_ops.cpp'.
WriteCommandRequestBase:
description: "Contains basic information included by all write commands"
strict: false
@@ -326,7 +328,8 @@ structs:
unstable: true
commands:
-
+ # IMPORTANT: If any changes are made to the fields here, please update the corresponding insert
+ # size estimation functions in 'write_ops.cpp'.
insert:
description: "Parser for the 'insert' command."
command_name: insert
@@ -349,6 +352,8 @@ commands:
supports_doc_sequence: true
unstable: false
+ # IMPORTANT: If any changes are made to the fields here, please update the corresponding update
+ # size estimation functions in 'write_ops.cpp'.
update:
description: "Parser for the 'update' command."
command_name: update
@@ -384,6 +389,8 @@ commands:
optional: true
unstable: false
+ # IMPORTANT: If any changes are made to the fields here, please update the corresponding delete
+ # size estimation functions in 'write_ops.cpp'.
delete:
description: "Parser for the 'delete' command."
command_name: delete