summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_rs.cpp
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2020-10-19 12:52:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-09 16:58:10 +0000
commitacff91727f94716ca3f1a1e3d8d839d17f07b3d9 (patch)
treea354b59edb3d38103a5e79cbce915fd2b3f7afa7 /src/mongo/client/remote_command_targeter_rs.cpp
parent8e777baedf13e0ee2cc366ef6a6420e0badcf0d2 (diff)
downloadmongo-acff91727f94716ca3f1a1e3d8d839d17f07b3d9.tar.gz
SERVER-50510 Change markHostNotMaster to markHostNotPrimary
Diffstat (limited to 'src/mongo/client/remote_command_targeter_rs.cpp')
-rw-r--r--src/mongo/client/remote_command_targeter_rs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_targeter_rs.cpp b/src/mongo/client/remote_command_targeter_rs.cpp
index ce84a13e028..7ddd9898769 100644
--- a/src/mongo/client/remote_command_targeter_rs.cpp
+++ b/src/mongo/client/remote_command_targeter_rs.cpp
@@ -98,7 +98,7 @@ StatusWith<HostAndPort> RemoteCommandTargeterRS::findHost(OperationContext* opCt
return swHostAndPort;
}
-void RemoteCommandTargeterRS::markHostNotMaster(const HostAndPort& host, const Status& status) {
+void RemoteCommandTargeterRS::markHostNotPrimary(const HostAndPort& host, const Status& status) {
invariant(_rsMonitor);
_rsMonitor->failedHost(host, status);