summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristina Chodorow <kristina@10gen.com>2010-10-22 18:10:52 -0400
committerEliot Horowitz <eliot@10gen.com>2010-10-26 00:32:52 -0400
commit1f57383462db6a754c99abb3208a1fb985f67918 (patch)
tree25140301ae0bdb3279eeb72e9da4ff53e8967e6f
parentee5a18c6ce6da9bcb2b1fbc0c5830ff4a77dd683 (diff)
downloadmongo-1f57383462db6a754c99abb3208a1fb985f67918.tar.gz
add doc link for bad repl source SERVER-978
-rw-r--r--db/repl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/repl.cpp b/db/repl.cpp
index 085ae64d1e1..ea0eab9ee0f 100644
--- a/db/repl.cpp
+++ b/db/repl.cpp
@@ -658,6 +658,8 @@ namespace mongo {
ReplSource tmp(c->current());
if ( tmp.hostName != cmdLine.source ) {
log() << "repl: --source " << cmdLine.source << " != " << tmp.hostName << " from local.sources collection" << endl;
+ log() << "repl: for instructions on changing this slave's source, see:" << endl;
+ log() << "http://dochub.mongodb.org/core/masterslave" << endl;
log() << "repl: terminating mongod after 30 seconds" << endl;
sleepsecs(30);
dbexit( EXIT_REPLICATION_ERROR );