summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/top.h
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-01-28 21:08:04 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-31 04:48:40 +0000
commitc2d35dd6214978959a9cfc5dcb813d62ae8981ef (patch)
treec2f527cc549bebaf076b1628bcb4482e3b5e4c55 /src/mongo/db/stats/top.h
parent39b922938dfa89bfedb7b45f05ff05d585ccdfc8 (diff)
downloadmongo-c2d35dd6214978959a9cfc5dcb813d62ae8981ef.tar.gz
SERVER-45137 Remove namespaces from Top when collections are renamed
create mode 100644 jstests/noPassthroughWithMongod/top_rename.js
Diffstat (limited to 'src/mongo/db/stats/top.h')
-rw-r--r--src/mongo/db/stats/top.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/stats/top.h b/src/mongo/db/stats/top.h
index 2fcbb620f6c..635fda68a1e 100644
--- a/src/mongo/db/stats/top.h
+++ b/src/mongo/db/stats/top.h
@@ -108,7 +108,7 @@ public:
void cloneMap(UsageMap& out) const;
- void collectionDropped(const NamespaceString& nss, bool databaseDropped = false);
+ void collectionDropped(const NamespaceString& nss);
/**
* Appends the collection-level latency statistics
@@ -154,7 +154,6 @@ private:
mutable SimpleMutex _lock;
OperationLatencyHistogram _globalHistogramStats;
UsageMap _usage;
- std::set<std::string> _collDropNs;
};
} // namespace mongo