diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-10-25 11:35:26 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-10-25 11:35:26 -0400 |
commit | de2a67178e3365b829d57afde92cb6123dd24357 (patch) | |
tree | 33d8697c1322e689c82ab98855bcd8c6cab5c0af /src/mongo/db/commands | |
parent | eadebad07fc0e7aa02d0b407f60af9bcf19fde16 (diff) | |
download | mongo-de2a67178e3365b829d57afde92cb6123dd24357.tar.gz |
Revert "SERVER-31678 Thread through the operation wall-clock time for oplog entries"
This reverts commit 080514c9ee36564d8342cd832f3c5f3a199a9845.
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/dbcheck.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mongo/db/commands/dbcheck.cpp b/src/mongo/db/commands/dbcheck.cpp index fe7bcd178c6..3650b93af48 100644 --- a/src/mongo/db/commands/dbcheck.cpp +++ b/src/mongo/db/commands/dbcheck.cpp @@ -461,21 +461,9 @@ private: const BSONObj& obj) { return writeConflictRetry( opCtx, "dbCheck oplog entry", NamespaceString::kRsOplogNamespace.ns(), [&] { - auto const clockSource = opCtx->getServiceContext()->getFastClockSource(); - const auto wallClockTime = clockSource->now(); - WriteUnitOfWork uow(opCtx); - repl::OpTime result = repl::logOp(opCtx, - "c", - nss, - uuid, - obj, - nullptr, - false, - wallClockTime, - {}, - kUninitializedStmtId, - {}); + repl::OpTime result = repl::logOp( + opCtx, "c", nss, uuid, obj, nullptr, false, {}, kUninitializedStmtId, {}); uow.commit(); return result; }); |