summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.idl
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-07-27 10:32:09 -0400
committerRandolph Tan <randolph@10gen.com>2017-08-17 16:58:40 -0400
commit1e11cda15ddae9972f9993a7d6b6cbf9d172bcb3 (patch)
tree07546cb1464f52398f92db85e8af063d9f3112e0 /src/mongo/db/repl/oplog_entry.idl
parentd7325950d72c6aacd25ecbd65888c050fe63482c (diff)
downloadmongo-1e11cda15ddae9972f9993a7d6b6cbf9d172bcb3.tar.gz
SERVER-30407 Store pre/post-image documents when running findAndModify with txnNumber
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.idl')
-rw-r--r--src/mongo/db/repl/oplog_entry.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_entry.idl b/src/mongo/db/repl/oplog_entry.idl
index 0f5a5731021..a01b38f2ee0 100644
--- a/src/mongo/db/repl/oplog_entry.idl
+++ b/src/mongo/db/repl/oplog_entry.idl
@@ -115,4 +115,13 @@ structs:
type: timestamp
optional: true # Only for writes that are part of a transaction
description: "The oplog timestamp of the previous write with the same transaction."
-
+ preImageTs:
+ type: timestamp
+ optional: true
+ description: "The oplog timestamp of another oplog entry that contains the document
+ before an update/remove was applied."
+ postImageTs:
+ type: timestamp
+ optional: true
+ description: "The oplog timestamp of another oplog entry that contains the document
+ after an update was applied."