diff options
author | Randolph Tan <randolph@10gen.com> | 2017-09-07 16:13:33 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-09-12 11:54:16 -0400 |
commit | 152ade06b7c7db03d358d42f41a961b3e8787a35 (patch) | |
tree | e5ad527394ac65148f1cbd35d0bfa7a3574dea22 /src/mongo/db/commands | |
parent | bddfee0d34513631424363645139f8eb4acbbc4c (diff) | |
download | mongo-152ade06b7c7db03d358d42f41a961b3e8787a35.tar.gz |
SERVER-30895 Make repl::logOp accept an OperationSessionInfo, instead of extracting session info from the operation context
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/dbcheck.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mongo/db/commands/dbcheck.cpp b/src/mongo/db/commands/dbcheck.cpp index 2d44ac9d341..65fda9c03a4 100644 --- a/src/mongo/db/commands/dbcheck.cpp +++ b/src/mongo/db/commands/dbcheck.cpp @@ -462,15 +462,8 @@ private: return writeConflictRetry( opCtx, "dbCheck oplog entry", NamespaceString::kRsOplogNamespace.ns(), [&] { WriteUnitOfWork uow(opCtx); - repl::OpTime result = repl::logOp(opCtx, - "c", - nss, - uuid, - obj, - nullptr, - false, - kUninitializedStmtId, - repl::PreAndPostImageTimestamps()); + repl::OpTime result = repl::logOp( + opCtx, "c", nss, uuid, obj, nullptr, false, {}, kUninitializedStmtId, {}); uow.commit(); return result; }); |