diff options
author | Randolph Tan <randolph@10gen.com> | 2017-09-28 16:33:27 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-09-28 16:51:00 -0400 |
commit | f88f6f43b7ae2af0286437da8f00c0079ed99145 (patch) | |
tree | ec22edf29d746877baa697f80bc10d0b40ebb616 /src/mongo/db/repl/oplog.h | |
parent | 0309fa8091bdf7d6663a02fefd5d61ae0965e7b1 (diff) | |
download | mongo-f88f6f43b7ae2af0286437da8f00c0079ed99145.tar.gz |
SERVER-30894/SERVER-31290 Implement command for transferring session information during migration
This reverts commit f24fbb0011c6ded9101f08574e7cd07e63690a9b.
This reverts commit d293f6857bcb36b26ca8fa03d90299714fe060de.
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r-- | src/mongo/db/repl/oplog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h index a5eff8ac1aa..34a96b23b05 100644 --- a/src/mongo/db/repl/oplog.h +++ b/src/mongo/db/repl/oplog.h @@ -103,6 +103,8 @@ extern int OPLOG_VERSION; /** * Log insert(s) to the local oplog. * Returns the OpTime of the last insert. + * The timestamps parameter can also be modified and contain the individual timestamps for each + * insert after the oplog entries were created. */ OpTime logInsertOps(OperationContext* opCtx, const NamespaceString& nss, @@ -110,6 +112,7 @@ OpTime logInsertOps(OperationContext* opCtx, Session* session, std::vector<InsertStatement>::const_iterator begin, std::vector<InsertStatement>::const_iterator end, + Timestamp timestamps[], bool fromMigrate); /** |