diff options
author | Benety Goh <benety@mongodb.com> | 2016-11-09 17:12:49 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-11-09 18:47:57 -0500 |
commit | 7d68067e5a6272bb463acc4e7a6c6a144148039c (patch) | |
tree | 25308cf815a6c1fc3b08edf053e5f68b72ec2c94 | |
parent | 0a91c903c4dee2e6cd39f0b9d6dd2b639a137aab (diff) | |
download | mongo-7d68067e5a6272bb463acc4e7a6c6a144148039c.tar.gz |
SERVER-25662 added log message for oplog fetcher completion to the data replicatorr3.4.0-rc3
-rw-r--r-- | src/mongo/db/repl/data_replicator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/data_replicator.cpp b/src/mongo/db/repl/data_replicator.cpp index b9b7b35640f..a6996f47e6f 100644 --- a/src/mongo/db/repl/data_replicator.cpp +++ b/src/mongo/db/repl/data_replicator.cpp @@ -1351,6 +1351,8 @@ void DataReplicator::_enqueueDocuments(Fetcher::Documents::const_iterator begin, void DataReplicator::_onOplogFetchFinish(const Status& status, const OpTimeWithHash& lastFetched) { _fetcherPaused = true; + log() << "Finished fetching oplog during initial sync: " << redact(status) + << ". Last fetched optime and hash: " << lastFetched; if (status.code() == ErrorCodes::CallbackCanceled) { return; } else if (status.isOK()) { |