From 2038ae216216641fff45d8791a3b560a00e86aa5 Mon Sep 17 00:00:00 2001 From: Matt Kneiser Date: Tue, 30 Aug 2022 21:09:36 +0000 Subject: SERVER-68910 Recieve -> Receive --- src/mongo/client/async_remote_command_targeter_test.cpp | 2 +- src/mongo/client/sdam/topology_listener.h | 2 +- src/mongo/client/server_discovery_monitor_test.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/client') 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); -- cgit v1.2.1