summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_info_cache_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_info_cache_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_info_cache_impl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_info_cache_impl.h b/src/mongo/db/catalog/collection_info_cache_impl.h
index cf66d8e2e99..ff6566f36e5 100644
--- a/src/mongo/db/catalog/collection_info_cache_impl.h
+++ b/src/mongo/db/catalog/collection_info_cache_impl.h
@@ -76,8 +76,6 @@ public:
*/
CollectionIndexUsageMap getIndexUsageStats() const;
- CollectionIndexUsageTracker::CollectionScanStats getCollectionScanStats() const override;
-
/**
* Builds internal cache state based on the current state of the Collection's IndexCatalog
*/
@@ -104,7 +102,11 @@ public:
*/
void clearQueryCache();
- void notifyOfQuery(OperationContext* opCtx, const PlanSummaryStats& summaryStats);
+ /**
+ * Signal to the cache that a query operation has completed. 'indexesUsed' should list the
+ * set of indexes used by the winning plan, if any.
+ */
+ void notifyOfQuery(OperationContext* opCtx, const std::set<std::string>& indexesUsed);
void setNs(NamespaceString ns) override;