diff options
author | Randolph Tan <randolph@10gen.com> | 2017-09-27 23:34:00 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-09-27 23:34:00 -0400 |
commit | aaa0c96532ba6a8ea9146e4298c6bf1cc6b27f9e (patch) | |
tree | fcdf67ad36b0b9392e1218a5defc31ea8bdd45e4 /src/mongo/db/repl/oplog.h | |
parent | eeee1e2b64f70e8487f017ba579f3ca861c81e4f (diff) | |
download | mongo-aaa0c96532ba6a8ea9146e4298c6bf1cc6b27f9e.tar.gz |
Revert "Revert "SERVER-30894 Implement command for transferring session information during migration""
This reverts commit 522f7f7d36a4a71059dd2d5219c2a0f074dfd0a1.
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); /** |