summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2021-10-26 04:04:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-20 04:49:23 +0000
commite3b5c6069197d478929449eec87f8bfcc58bc7bd (patch)
tree214e9c5d8f6ea7f431f0eb537f427e0e4040391c /src/mongo/db/ops
parent95ba764c2c7a787e117536fe5632fe484f9178c8 (diff)
downloadmongo-e3b5c6069197d478929449eec87f8bfcc58bc7bd.tar.gz
SERVER-60540 Add retryability support for internal transactions for findAndModify
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 2254f4fcb58..415b50f9ea1 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -417,6 +417,10 @@ commands:
description: "When true, returns the modified document rather than the original."
type: safeBool
optional: true
+ stmtId:
+ description: "The statement number for this findAndModify operation."
+ type: int
+ optional: true
bypassDocumentValidation:
description: "Enables the operation to bypass document validation. This lets you
write documents that do not meet the validation requirements."