From cc24f2022c761b32eecb18f6f5c841c3a43fe7c1 Mon Sep 17 00:00:00 2001 From: Maria van Keulen Date: Thu, 6 Jun 2019 17:33:12 -0400 Subject: SERVER-40737 Use epoch as default OpTimeAndWallTime wallTime value --- src/mongo/db/repl/sync_tail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/repl/sync_tail.cpp') diff --git a/src/mongo/db/repl/sync_tail.cpp b/src/mongo/db/repl/sync_tail.cpp index c913ca2a6f7..0ee0ad3382f 100644 --- a/src/mongo/db/repl/sync_tail.cpp +++ b/src/mongo/db/repl/sync_tail.cpp @@ -189,7 +189,7 @@ void ApplyBatchFinalizerForJournal::_run() { Client::initThread("ApplyBatchFinalizerForJournal"); while (true) { - OpTimeAndWallTime latestOpTimeAndWallTime = {OpTime(), Date_t::min()}; + OpTimeAndWallTime latestOpTimeAndWallTime = {OpTime(), Date_t()}; { stdx::unique_lock lock(_mutex); @@ -202,7 +202,7 @@ void ApplyBatchFinalizerForJournal::_run() { } latestOpTimeAndWallTime = _latestOpTimeAndWallTime; - _latestOpTimeAndWallTime = {OpTime(), Date_t::min()}; + _latestOpTimeAndWallTime = {OpTime(), Date_t()}; } auto opCtx = cc().makeOperationContext(); -- cgit v1.2.1