summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.h')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.h b/src/mongo/db/repl/sync_source_feedback.h
index a1a3c09c034..5becbcc84aa 100644
--- a/src/mongo/db/repl/sync_source_feedback.h
+++ b/src/mongo/db/repl/sync_source_feedback.h
@@ -35,7 +35,6 @@
#include "mongo/client/constants.h"
#include "mongo/client/dbclientcursor.h"
-#include "mongo/util/log.h"
namespace mongo {
@@ -75,12 +74,7 @@ namespace repl {
void shutdown();
private:
- void _resetConnection() {
- MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kReplication);
-
- LOG(1) << "resetting connection in sync source feedback";
- _connection.reset();
- }
+ void _resetConnection();
/**
* Authenticates _connection using the server's cluster-membership credentials.