diff options
author | Amirsaman Memaripour <amirsaman.memaripour@mongodb.com> | 2020-11-12 18:28:37 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-12 21:30:22 +0000 |
commit | 5e07652c9c8b03004bbbdd0769b530a8a6315327 (patch) | |
tree | 097a3b09bd1a8b7b829b7a8adb7602c456c6dc15 /src/mongo/client/dbclient_connection.h | |
parent | ac9d73de226e40aaa16f5e8c4c44536d49631e49 (diff) | |
download | mongo-5e07652c9c8b03004bbbdd0769b530a8a6315327.tar.gz |
SERVER-50509 Rename handleNotMasterResponse to handleNotPrimaryResponse
Diffstat (limited to 'src/mongo/client/dbclient_connection.h')
-rw-r--r-- | src/mongo/client/dbclient_connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_connection.h b/src/mongo/client/dbclient_connection.h index 3d80c9c371b..8532ddf231f 100644 --- a/src/mongo/client/dbclient_connection.h +++ b/src/mongo/client/dbclient_connection.h @@ -342,10 +342,10 @@ protected: private: /** * Inspects the contents of 'replyBody' and informs the replica set monitor that the host 'this' - * is connected with is no longer the primary if a "not master" error message or error code was + * is connected with is no longer the primary if a "not primary" error message or error code was * returned. */ - void handleNotMasterResponse(const BSONObj& replyBody, StringData errorMsgFieldName); + void handleNotPrimaryResponse(const BSONObj& replyBody, StringData errorMsgFieldName); enum FailAction { kSetFlag, kEndSession, kReleaseSession }; void _markFailed(FailAction action); |