diff options
author | Matt Kneiser <matt.kneiser@mongodb.com> | 2022-08-30 21:09:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-30 22:55:13 +0000 |
commit | 2038ae216216641fff45d8791a3b560a00e86aa5 (patch) | |
tree | 4fe0fc877e949f923dd75dcc3bbbfc71074ee820 /src/mongo/client | |
parent | d1ba1249601a455cb980a43a9546f2b320ef1ecf (diff) | |
download | mongo-2038ae216216641fff45d8791a3b560a00e86aa5.tar.gz |
SERVER-68910 Recieve -> Receive
Diffstat (limited to 'src/mongo/client')
-rw-r--r-- | src/mongo/client/async_remote_command_targeter_test.cpp | 2 | ||||
-rw-r--r-- | src/mongo/client/sdam/topology_listener.h | 2 | ||||
-rw-r--r-- | src/mongo/client/server_discovery_monitor_test.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/client/async_remote_command_targeter_test.cpp b/src/mongo/client/async_remote_command_targeter_test.cpp index 215be5ae4a9..9d7ccf765a0 100644 --- a/src/mongo/client/async_remote_command_targeter_test.cpp +++ b/src/mongo/client/async_remote_command_targeter_test.cpp @@ -100,7 +100,7 @@ TEST_F(AsyncRemoteCommandTargeterTest, OnRemoteErrorUpdatesTopology) { /** * When onRemoteCommandError is called, the targeter updates its view of the underlying topology - * correctly and the resolver recieves those changes. + * correctly and the resolver receives those changes. */ TEST_F(AsyncRemoteCommandTargeterTest, OnRemoteErrorUpdatesTopologyAndResolver) { ReadPreferenceSetting readPref; diff --git a/src/mongo/client/sdam/topology_listener.h b/src/mongo/client/sdam/topology_listener.h index 3a97e6fe8e4..304009aacc3 100644 --- a/src/mongo/client/sdam/topology_listener.h +++ b/src/mongo/client/sdam/topology_listener.h @@ -68,7 +68,7 @@ public: /** * Called when a ServerHeartBeatSucceededEvent is published - A heartbeat sent to the server at * hostAndPort succeeded. duration is the execution time of the event, including the time it - * took to send the message and recieve the reply from the server. + * took to send the message and receive the reply from the server. */ virtual void onServerHeartbeatSucceededEvent(const HostAndPort& hostAndPort, const BSONObj reply){}; diff --git a/src/mongo/client/server_discovery_monitor_test.cpp b/src/mongo/client/server_discovery_monitor_test.cpp index 65467219585..7d52799019a 100644 --- a/src/mongo/client/server_discovery_monitor_test.cpp +++ b/src/mongo/client/server_discovery_monitor_test.cpp @@ -492,7 +492,7 @@ TEST_F(ServerDiscoveryMonitorTestFixture, // It's been less than SdamConfiguration::kMinHeartbeatFrequency since the last isMaster was // received. The next isMaster should be sent SdamConfiguration::kMinHeartbeatFrequency since - // the last isMaster was recieved rather than immediately. + // the last isMaster was received rather than immediately. auto timeRequestImmediateSent = elapsed(); isMasterMonitor->requestImmediateCheck(); waitForNextIsMaster(minHeartbeatFrequency); |