summaryrefslogtreecommitdiff
path: root/src/mongo/s/cluster_last_error_info.cpp
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-03-23 15:01:25 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-04-03 23:44:28 -0400
commita253c2b42aa124df687b54982283270f33e29994 (patch)
tree296291ec9435101ea35bf2c7e21209536d0fb792 /src/mongo/s/cluster_last_error_info.cpp
parent03b086be7bcb082ca3b76a823560db4ab5cb0cd2 (diff)
downloadmongo-a253c2b42aa124df687b54982283270f33e29994.tar.gz
SERVER-23298 refactor ShardingConnectionHook and ShardingEgressMetadataHook to improve link graph
Diffstat (limited to 'src/mongo/s/cluster_last_error_info.cpp')
-rw-r--r--src/mongo/s/cluster_last_error_info.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/cluster_last_error_info.cpp b/src/mongo/s/cluster_last_error_info.cpp
index 18124138825..7695dac1338 100644
--- a/src/mongo/s/cluster_last_error_info.cpp
+++ b/src/mongo/s/cluster_last_error_info.cpp
@@ -71,9 +71,6 @@ void ClusterLastErrorInfo::disableForCommand() {
_prev = temp;
}
-static TimerStats gleWtimeStats;
-static ServerStatusMetricField<TimerStats> displayGleLatency("getLastError.wtime", &gleWtimeStats);
-
void saveGLEStats(const BSONObj& metadata, StringData hostString) {
if (!haveClient()) {
// TODO: how can this happen?