summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_entry_point_impl.cpp
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2020-02-20 20:01:32 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-21 02:21:42 +0000
commit8dd8e36940a4c44fa56ba4e8641001a1bc264560 (patch)
treec3b921aff52ea440218760a3fc3ef5644dc65bc5 /src/mongo/transport/service_entry_point_impl.cpp
parent9656325d949e9d917a0f57740acd70c83076b062 (diff)
downloadmongo-8dd8e36940a4c44fa56ba4e8641001a1bc264560.tar.gz
Revert "SERVER-44522 serverStatus metrics for awaitable isMaster"
This reverts commit b4915c29d4848439e23857c45fd3fcf94622b015.
Diffstat (limited to 'src/mongo/transport/service_entry_point_impl.cpp')
-rw-r--r--src/mongo/transport/service_entry_point_impl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp
index b6379ca73bf..9381e1e7b95 100644
--- a/src/mongo/transport/service_entry_point_impl.cpp
+++ b/src/mongo/transport/service_entry_point_impl.cpp
@@ -38,7 +38,6 @@
#include "mongo/db/auth/restriction_environment.h"
#include "mongo/db/service_context.h"
#include "mongo/logv2/log.h"
-#include "mongo/transport/ismaster_metrics.h"
#include "mongo/transport/service_state_machine.h"
#include "mongo/transport/session.h"
#include "mongo/util/log.h"
@@ -273,10 +272,6 @@ void ServiceEntryPointImpl::appendStats(BSONObjBuilder* bob) const {
bob->append("totalCreated", static_cast<int>(_createdConnections.load()));
if (auto sc = getGlobalServiceContext()) {
bob->append("active", static_cast<int>(sc->getActiveClientOperations()));
- bob->append("exhaustIsMaster",
- static_cast<int>(IsMasterMetrics::get(sc)->getNumExhaustIsMaster()));
- bob->append("awaitingTopologyChanges",
- static_cast<int>(IsMasterMetrics::get(sc)->getNumAwaitingTopologyChanges()));
}
if (_adminInternalPool) {