diff options
author | Maria van Keulen <maria@mongodb.com> | 2019-06-06 17:33:12 -0400 |
---|---|---|
committer | Maria van Keulen <maria@mongodb.com> | 2019-06-11 15:19:54 -0400 |
commit | fdb56a92bfea1af0344044856df04af4d464a3b4 (patch) | |
tree | 6e7cc6cf3ac93a7f1fa23f5f93de382cb6fabc62 /src/mongo/db/repl/oplog_applier_test.cpp | |
parent | 4f5550adaeff1c56cc0499e8b1cf1a75c953c02d (diff) | |
download | mongo-r4.2.0-rc1.tar.gz |
SERVER-40737 Use epoch as default OpTimeAndWallTime wallTime valuer4.2.0-rc1
(cherry picked from commit cc24f2022c761b32eecb18f6f5c841c3a43fe7c1)
Diffstat (limited to 'src/mongo/db/repl/oplog_applier_test.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog_applier_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog_applier_test.cpp b/src/mongo/db/repl/oplog_applier_test.cpp index 35155afabb0..352359bae58 100644 --- a/src/mongo/db/repl/oplog_applier_test.cpp +++ b/src/mongo/db/repl/oplog_applier_test.cpp @@ -117,7 +117,7 @@ OplogEntry makeInsertOplogEntry(int t, const NamespaceString& nss) { boost::none, // o2 {}, // sessionInfo boost::none, // upsert - Date_t::min() + Seconds(t), // wall clock time + Date_t() + Seconds(t), // wall clock time boost::none, // statement id boost::none, // optime of previous write within same transaction boost::none, // pre-image optime @@ -145,7 +145,7 @@ OplogEntry makeApplyOpsOplogEntry(int t, bool prepare) { boost::none, // o2 {}, // sessionInfo boost::none, // upsert - Date_t::min() + Seconds(t), // wall clock time + Date_t() + Seconds(t), // wall clock time boost::none, // statement id boost::none, // optime of previous write within same transaction boost::none, // pre-image optime @@ -177,7 +177,7 @@ OplogEntry makeCommitTransactionOplogEntry(int t, StringData dbName, bool prepar boost::none, // o2 {}, // sessionInfo boost::none, // upsert - Date_t::min() + Seconds(t), // wall clock time + Date_t() + Seconds(t), // wall clock time boost::none, // statement id boost::none, // optime of previous write within same transaction boost::none, // pre-image optime |