Data race condition
The value of the shared data will be determined by the interleaving of thread execution. Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
/src/mongo/transport/asio/asio_transport_layer.cpp:966: MISSING_LOCK 140015 Accessing "this->connector->session" without holding lock "mongo::transport::AsioTransportLayer::asyncConnect(mongo::HostAndPort, mongo::transport::ConnectSSLMode, std::shared_ptr<mongo::transport::Reactor> const &, mongo::Duration<std::ratio<1l, 1000l> >, std::shared_ptr<mongo::ConnectionMetrics>, std::shared_ptr<mongo::transport::SSLConnectionContext const>)::AsyncConnectState.mutex". Elsewhere, "mongo::transport::AsioTransportLayer::asyncConnect(mongo::HostAndPort, mongo::transport::ConnectSSLMode, std::shared_ptr<mongo::transport::Reactor> const &, mongo::Duration<std::ratio<1l, 1000l> >, std::shared_ptr<mongo::ConnectionMetrics>, std::shared_ptr<mongo::transport::SSLConnectionContext const>)::AsyncConnectState.session" is written to with "AsyncConnectState.mutex" held 1 out of 1 times.