summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
diff options
context:
space:
mode:
authorErin McNulty <erin.mcnulty@mongodb.com>2022-08-24 20:37:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-24 21:38:34 +0000
commit160e9ba26f68522796da0e7222901ae63e45e1c9 (patch)
tree6e82f348b49b67f2cf2d2828c61ffad4439f652f /src/mongo/db/ops
parent1744ab66eafba2dcc6dd96d7fa0d0d77eeae35d8 (diff)
downloadmongo-160e9ba26f68522796da0e7222901ae63e45e1c9.tar.gz
SERVER-68558: Mark command reply types with is_command_reply field
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r--src/mongo/db/ops/write_ops.idl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index 8c499edbf89..bc5c6a9fe79 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -110,6 +110,7 @@ structs:
InsertCommandReply:
description: "Contains information related to insert command reply."
strict: false
+ is_command_reply: true
chained_structs:
WriteCommandReplyBase: writeCommandReplyBase
@@ -128,6 +129,7 @@ structs:
UpdateCommandReply:
description: "Contains information related to update command reply."
strict: false
+ is_command_reply: true
chained_structs:
WriteCommandReplyBase: writeCommandReplyBase
fields:
@@ -145,6 +147,7 @@ structs:
DeleteCommandReply:
description: "Contains information related to delete command reply."
strict: false
+ is_command_reply: true
chained_structs:
WriteCommandReplyBase: writeCommandReplyBase
@@ -306,6 +309,7 @@ structs:
FindAndModifyCommandReply:
description: "Parser for the response from a `findAndModify` command"
strict: false
+ is_command_reply: true
fields:
lastErrorObject:
type: FindAndModifyLastError