diff options
author | Tyler Seip <Tyler.Seip@mongodb.com> | 2021-03-19 18:28:46 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-23 17:37:22 +0000 |
commit | 8c463d0aa0cce19073210d274dcbb04c156dc802 (patch) | |
tree | 831640a2819370a0dc3641b02da5adad23e651a7 /src/mongo/transport/session_asio.h | |
parent | f447e57dd2c5dbb39feef9cfe071ff1cc1de54d5 (diff) | |
download | mongo-8c463d0aa0cce19073210d274dcbb04c156dc802.tar.gz |
SERVER-53230: Rename cancelation -> cancellation everywhere
Diffstat (limited to 'src/mongo/transport/session_asio.h')
-rw-r--r-- | src/mongo/transport/session_asio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/transport/session_asio.h b/src/mongo/transport/session_asio.h index ef8ce3a6f28..8007aa3d781 100644 --- a/src/mongo/transport/session_asio.h +++ b/src/mongo/transport/session_asio.h @@ -488,7 +488,7 @@ private: template <typename MutableBufferSequence> Future<void> read(const MutableBufferSequence& buffers, const BatonHandle& baton = nullptr) { - // TODO SERVER-47229 Guard active ops for cancelation here. + // TODO SERVER-47229 Guard active ops for cancellation here. #ifdef MONGO_CONFIG_SSL if (_sslSocket) { return opportunisticRead(*_sslSocket, buffers, baton); @@ -514,7 +514,7 @@ private: template <typename ConstBufferSequence> Future<void> write(const ConstBufferSequence& buffers, const BatonHandle& baton = nullptr) { - // TODO SERVER-47229 Guard active ops for cancelation here. + // TODO SERVER-47229 Guard active ops for cancellation here. #ifdef MONGO_CONFIG_SSL _ranHandshake = true; if (_sslSocket) { @@ -680,7 +680,7 @@ private: networkingBaton && networkingBaton->canWait()) { return networkingBaton->addSession(*this, NetworkingBaton::Type::Out) .onError([](Status error) { - if (ErrorCodes::isCancelationError(error)) { + if (ErrorCodes::isCancellationError(error)) { // If the baton has detached, it will cancel its polling. We catch that // error here and return Status::OK so that we invoke // opportunisticWrite() again and switch to asio::async_write() below. |