diff options
Diffstat (limited to 'src/mongo/client/server_ping_monitor.cpp')
| -rw-r--r-- | src/mongo/client/server_ping_monitor.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/client/server_ping_monitor.cpp b/src/mongo/client/server_ping_monitor.cpp index 8d482d3234c..23353157c41 100644 --- a/src/mongo/client/server_ping_monitor.cpp +++ b/src/mongo/client/server_ping_monitor.cpp @@ -85,18 +85,11 @@ auto SingleServerPingMonitor::_scheduleWorkAt(Date_t when, Callback&& cb) const auto wrappedCallback = [cb = std::forward<Callback>(cb), anchor = shared_from_this()](const CallbackArgs& cbArgs) mutable { if (ErrorCodes::isCancellationError(cbArgs.status)) { - LOGV2(7926101, - "ServerPingMonitor stopping pings to host because request was cancelled", - "host"_attr = anchor->_hostAndPort, - "status"_attr = cbArgs.status); return; } stdx::lock_guard lk(anchor->_mutex); if (anchor->_isDropped) { - LOGV2(7926102, - "ServerPingMonitor stopping pings to host because the component was shutdown", - "host"_attr = anchor->_hostAndPort); return; } cb(cbArgs); @@ -156,21 +149,12 @@ void SingleServerPingMonitor::_doServerPing() { if (ErrorCodes::isCancellationError(result.response.status)) { // Do no more work if the SingleServerPingMonitor is removed or the request is // canceled. - LOGV2(7926103, - "ServerPingMonitor stopping pings to host because monitor was removed or " - "request was cancelled", - "host"_attr = anchor->_hostAndPort, - "status"_attr = result.response.status); return; } { stdx::lock_guard lk(anchor->_mutex); int rttValue = 0; if (anchor->_isDropped) { - LOGV2(7926104, - "ServerPingMonitor stopping pings to host because the component was " - "shutdown", - "host"_attr = anchor->_hostAndPort); return; } |
