diff options
-rw-r--r-- | db/repl/heartbeat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/repl/heartbeat.cpp b/db/repl/heartbeat.cpp index a1780c38740..138ba4594ba 100644 --- a/db/repl/heartbeat.cpp +++ b/db/repl/heartbeat.cpp @@ -102,8 +102,8 @@ namespace mongo { if( !from.empty() ) { replSettings.discoveredSeeds.insert(from); } - errmsg = "still initializing"; - return false; + result.append("hbmsg", "still initializing"); + return true; } if( theReplSet->name() != cmdObj.getStringField("replSetHeartbeat") ) { |