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.h | |
parent | 8e777baedf13e0ee2cc366ef6a6420e0badcf0d2 (diff) | |
download | mongo-acff91727f94716ca3f1a1e3d8d839d17f07b3d9.tar.gz |
SERVER-50510 Change markHostNotMaster to markHostNotPrimary
Diffstat (limited to 'src/mongo/client/remote_command_targeter.h')
-rw-r--r-- | src/mongo/client/remote_command_targeter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/remote_command_targeter.h b/src/mongo/client/remote_command_targeter.h index 6e9cfcd582f..4c42a499ba0 100644 --- a/src/mongo/client/remote_command_targeter.h +++ b/src/mongo/client/remote_command_targeter.h @@ -81,11 +81,11 @@ public: const ReadPreferenceSetting& readPref, Milliseconds maxWait) = 0; /** - * Reports to the targeter that a 'status' indicating a not master error was received when + * Reports to the targeter that a 'status' indicating a not primary error was received when * communicating with 'host', and so it should update its bookkeeping to avoid giving out the * host again on a subsequent request for the primary. */ - virtual void markHostNotMaster(const HostAndPort& host, const Status& status) = 0; + virtual void markHostNotPrimary(const HostAndPort& host, const Status& status) = 0; /** * Reports to the targeter that a 'status' indicating a network error was received when trying |