summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_connection.cpp
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2020-02-12 18:10:07 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-24 17:28:39 +0000
commit5c833792316fe542445683b865a66a64eb793a4a (patch)
tree7fabcf6e73d58641cfa51e6fd07e613426e80811 /src/mongo/client/dbclient_connection.cpp
parentd000968754302bd8ebbeaee3f7fbed6b25778593 (diff)
downloadmongo-5c833792316fe542445683b865a66a64eb793a4a.tar.gz
SERVER-45962 feature flag to opt out of new RSM implementation
Diffstat (limited to 'src/mongo/client/dbclient_connection.cpp')
-rw-r--r--src/mongo/client/dbclient_connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_connection.cpp b/src/mongo/client/dbclient_connection.cpp
index e39fcec61c7..c7170733b1b 100644
--- a/src/mongo/client/dbclient_connection.cpp
+++ b/src/mongo/client/dbclient_connection.cpp
@@ -801,7 +801,7 @@ void DBClientConnection::handleNotMasterResponse(const BSONObj& replyBody,
return;
}
- ReplicaSetMonitorPtr monitor = ReplicaSetMonitor::get(_parentReplSetName);
+ auto monitor = ReplicaSetMonitor::get(_parentReplSetName);
if (monitor) {
monitor->failedHost(_serverAddress,
{ErrorCodes::NotMaster,