summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-03-24 09:01:44 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-03-25 04:07:24 -0400
commit84ae6f501a9eb27d19c8c4f668fa806220421f7d (patch)
treea47fc115c6109bbed35929039b22ec28ce9f1fc3 /src/mongo
parent632ae4e7ad70426d5e2d36bd1fee4491eeac16b7 (diff)
downloadmongo-84ae6f501a9eb27d19c8c4f668fa806220421f7d.tar.gz
SERVER-13328 enhance "updater not supported" error message
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.cpp b/src/mongo/db/repl/sync_source_feedback.cpp
index 300e891dc02..d2aebd020ee 100644
--- a/src/mongo/db/repl/sync_source_feedback.cpp
+++ b/src/mongo/db/repl/sync_source_feedback.cpp
@@ -97,7 +97,8 @@ namespace mongo {
try {
if (!_connection->runCommand("admin", cmd.obj(), res)) {
if (res["errmsg"].str().find("no such cmd") != std::string::npos) {
- log() << "upstream updater is unsupported on this version";
+ LOG(1) << "upstream updater is not supported by the member from which we"
+ " are syncing, using oplogreader-based updating instead";
_supportsUpdater = false;
}
resetConnection();