diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-03-23 15:01:25 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-04-03 23:44:28 -0400 |
commit | a253c2b42aa124df687b54982283270f33e29994 (patch) | |
tree | 296291ec9435101ea35bf2c7e21209536d0fb792 /src/mongo/s/cluster_last_error_info.cpp | |
parent | 03b086be7bcb082ca3b76a823560db4ab5cb0cd2 (diff) | |
download | mongo-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.cpp | 3 |
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? |