From c2d35dd6214978959a9cfc5dcb813d62ae8981ef Mon Sep 17 00:00:00 2001 From: Gregory Wlodarek Date: Tue, 28 Jan 2020 21:08:04 -0500 Subject: SERVER-45137 Remove namespaces from Top when collections are renamed create mode 100644 jstests/noPassthroughWithMongod/top_rename.js --- src/mongo/db/stats/top.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mongo/db/stats/top.h') 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 _collDropNs; }; } // namespace mongo -- cgit v1.2.1