summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-09-19 14:44:36 -0400
committerRandolph Tan <randolph@10gen.com>2017-09-26 19:11:04 -0400
commit85d9721c00d7020af78fe60453f8362380fe697d (patch)
tree197240934bc6e849964449587234b526916e512d /src/mongo/db/repl/oplog.h
parent457ecaf9ca73456df43e442ddd758b9067a6a002 (diff)
downloadmongo-85d9721c00d7020af78fe60453f8362380fe697d.tar.gz
SERVER-30894 Implement command for transferring session information during migration
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r--src/mongo/db/repl/oplog.h3
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);
/**