diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2020-10-19 12:52:15 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-09 16:58:10 +0000 |
commit | acff91727f94716ca3f1a1e3d8d839d17f07b3d9 (patch) | |
tree | a354b59edb3d38103a5e79cbce915fd2b3f7afa7 /src/mongo/client/remote_command_targeter_rs.cpp | |
parent | 8e777baedf13e0ee2cc366ef6a6420e0badcf0d2 (diff) | |
download | mongo-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.cpp | 2 |
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); |