summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_fetcher.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2016-12-16 15:21:33 -0500
committerJudah Schvimer <judah@mongodb.com>2016-12-16 15:21:33 -0500
commit0cd2bf29d5798a395a07e67ae79ede9a5cefd411 (patch)
treebd1f1e1a3a6e7f77912078dc6478e8138ee07eea /src/mongo/db/repl/oplog_fetcher.cpp
parent530418b23c4c9d45cde993853967fe1b7b636c47 (diff)
downloadmongo-0cd2bf29d5798a395a07e67ae79ede9a5cefd411.tar.gz
SERVER-26538 improve sync source change logging
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher.cpp')
-rw-r--r--src/mongo/db/repl/oplog_fetcher.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher.cpp b/src/mongo/db/repl/oplog_fetcher.cpp
index ac683e6d616..2893a9099d6 100644
--- a/src/mongo/db/repl/oplog_fetcher.cpp
+++ b/src/mongo/db/repl/oplog_fetcher.cpp
@@ -510,8 +510,10 @@ void OplogFetcher::_callback(const Fetcher::QueryResponseStatus& result,
if (_dataReplicatorExternalState->shouldStopFetching(_fetcher->getSource(), metadata)) {
_finishCallback(Status(ErrorCodes::InvalidSyncSource,
str::stream() << "sync source " << _fetcher->getSource().toString()
- << " (last optime: "
+ << " (last visible optime: "
<< metadata.getLastOpVisible().toString()
+ << "; config version: "
+ << metadata.getConfigVersion()
<< "; sync source index: "
<< metadata.getSyncSourceIndex()
<< "; primary index: "