diff options
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.idl')
-rw-r--r-- | src/mongo/db/repl/oplog_entry.idl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_entry.idl b/src/mongo/db/repl/oplog_entry.idl index f7a7fa6f949..0a30146c53f 100644 --- a/src/mongo/db/repl/oplog_entry.idl +++ b/src/mongo/db/repl/oplog_entry.idl @@ -46,6 +46,13 @@ enums: kUpdate: "u" kDelete: "d" kNoop: "n" + RetryImage: + description: "Dictates whether a pre-image or post-image is to be stored on behalf of this + retryable write." + type: string + values: + kPreImage: "preImage" + kPostImage: "postImage" structs: ReplOperation: @@ -141,3 +148,9 @@ structs: optional: true description: "The optime of another oplog entry that contains the document after an update was applied." + + needsRetryImage: + type: RetryImage + optional: true + description: "Identifies whether a secondary should store a pre-image or post-image + associated with this oplog entry." |