summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2022-11-01 23:48:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-02 00:43:35 +0000
commitd3ec2b61a2589c9f35f2e11abaee5f163575c99e (patch)
tree33422391ca23365f8bdc72fbd7fc734413f2f29a /src/mongo/db/ops/write_ops.idl
parent433c0e26e0d4e35bb9b2bf6159ca1556808ab9b9 (diff)
downloadmongo-d3ec2b61a2589c9f35f2e11abaee5f163575c99e.tar.gz
SERVER-70753 Make shards support persisting sampled write queries
Diffstat (limited to 'src/mongo/db/ops/write_ops.idl')
-rw-r--r--src/mongo/db/ops/write_ops.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index a0567a957f8..be734dae3a6 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -259,6 +259,11 @@ structs:
type: object
optional: true
stability: stable
+ sampleId:
+ description: "The unique sample id for the operation if it has been chosen for sampling."
+ type: uuid
+ optional: true
+ stability: unstable
DeleteOpEntry:
description: "Parser for the entries in the 'deletes' array of a delete command."
@@ -285,6 +290,11 @@ structs:
type: object
optional: true
stability: stable
+ sampleId:
+ description: "The unique sample id for the operation if it has been chosen for sampling."
+ type: uuid
+ optional: true
+ stability: unstable
FindAndModifyLastError:
description: "Contains execution details for the findAndModify command"
@@ -543,3 +553,8 @@ commands:
description: "Indicates whether the operation is a mirrored read"
type: optionalBool
stability: unstable
+ sampleId:
+ description: "The unique sample id for the operation if it has been chosen for sampling."
+ type: uuid
+ optional: true
+ stability: unstable