diff options
author | gregs <greg@10gen.com> | 2011-04-26 14:19:57 -0400 |
---|---|---|
committer | gregs <greg@10gen.com> | 2011-04-26 14:28:30 -0400 |
commit | ee92cf98824cbaa6f5692a2fdcc89932c396cd40 (patch) | |
tree | d787b540e09fba3a8a097009ae5d16a28fd22179 | |
parent | b661f15b4d10920eecaa4fc659f2f2a4b8d14b1a (diff) | |
download | mongo-ee92cf98824cbaa6f5692a2fdcc89932c396cd40.tar.gz |
log default rs heartbeats
-rw-r--r-- | db/repl/rs_sync.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/repl/rs_sync.cpp b/db/repl/rs_sync.cpp index d14581fab4a..815a224a79b 100644 --- a/db/repl/rs_sync.cpp +++ b/db/repl/rs_sync.cpp @@ -488,7 +488,11 @@ namespace mongo { are no heartbeat threads, so we do it here to be sure. this is relevant if the singleton member has done a stepDown() and needs to come back up. */ - OCCASIONALLY mgr->send( boost::bind(&Manager::msgCheckNewState, theReplSet->mgr) ); + OCCASIONALLY { + log() << "default rs heartbeat starting..." << endl; + mgr->send( boost::bind(&Manager::msgCheckNewState, theReplSet->mgr) ); + log() << "rs heartbeat finished" << endl; + } } } |