diff options
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); /** |