summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.idl
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-06-28 17:58:19 -0400
committerRandolph Tan <randolph@10gen.com>2017-07-06 13:13:43 -0400
commitfa8c900800a61cd399554f27d43ca58870a95187 (patch)
treea44f68e934b440ed76841d76f0aa8577f306e9f5 /src/mongo/db/repl/oplog_entry.idl
parent0503521c2375a2e7bfbbda314ff997c77a372d66 (diff)
downloadmongo-fa8c900800a61cd399554f27d43ca58870a95187.tar.gz
SERVER-28903 Implement session history iterator
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.idl')
-rw-r--r--src/mongo/db/repl/oplog_entry.idl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_entry.idl b/src/mongo/db/repl/oplog_entry.idl
index 62d5b4a23d4..0f5a5731021 100644
--- a/src/mongo/db/repl/oplog_entry.idl
+++ b/src/mongo/db/repl/oplog_entry.idl
@@ -43,7 +43,7 @@ enums:
kUpdate: "u"
kDelete: "d"
kNoop: "n"
-
+
structs:
OplogEntryBase:
description: A document in which the server stores an oplog entry.
@@ -110,3 +110,9 @@ structs:
# must exist.
description: "Identifier of the transaction statement which generated this oplog
entry"
+ prevTs:
+ cpp_name: prevWriteTsInTransaction
+ 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."
+