summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2016-02-10 10:54:32 -0500
committerScott Hernandez <scotthernandez@gmail.com>2016-02-11 09:34:36 -0500
commit3a2816a72a92ecbcf9244210cfa403f972e10317 (patch)
tree2eaa7bba5ee4eca28d8a9e055193f9fabc2d2e40
parentaaa36d2ce713e4bde75f6b9e73fe91bcf20865f8 (diff)
downloadmongo-3a2816a72a92ecbcf9244210cfa403f972e10317.tar.gz
SERVER-22523: disable warning msg when multiple heartbeats are active/returning
(cherry picked from commit c35b85eb3adb92d6bfc20fcbe66e915d88f1b4d4)
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
index 734a054238b..eea76ced72c 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
@@ -558,8 +558,6 @@ void ReplicationCoordinatorImpl::_handleLivenessTimeout(
// Only reset the callback handle if it matches, otherwise more will be coming through
if (cbData.myHandle == _handleLivenessTimeoutCbh) {
_handleLivenessTimeoutCbh = CallbackHandle();
- } else {
- warning() << "The liveness timeout does not match callback handle, so not resetting it.";
}
if (!cbData.status.isOK()) {
return;