diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-10 18:38:03 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-10 18:38:03 -0400 |
commit | cb3b6c8b2a28190560906db4d78ef833eec44425 (patch) | |
tree | 8f550393c99b15f4b27d9bbb27115fc451930be7 /src/mongo/db/catalog/collection_info_cache_impl.h | |
parent | a4ef14ef41f0700ef07e5b57b0345d2396a44604 (diff) | |
download | mongo-cb3b6c8b2a28190560906db4d78ef833eec44425.tar.gz |
Revert "SERVER-40755 Expose statistics which indicate how many collection scans have executed"
This reverts commit a4ef14ef41f0700ef07e5b57b0345d2396a44604.
Diffstat (limited to 'src/mongo/db/catalog/collection_info_cache_impl.h')
-rw-r--r-- | src/mongo/db/catalog/collection_info_cache_impl.h | 8 |
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; |