summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_summary_stats.h
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-10 18:38:03 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-10 18:38:03 -0400
commitcb3b6c8b2a28190560906db4d78ef833eec44425 (patch)
tree8f550393c99b15f4b27d9bbb27115fc451930be7 /src/mongo/db/query/plan_summary_stats.h
parenta4ef14ef41f0700ef07e5b57b0345d2396a44604 (diff)
downloadmongo-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/query/plan_summary_stats.h')
-rw-r--r--src/mongo/db/query/plan_summary_stats.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/query/plan_summary_stats.h b/src/mongo/db/query/plan_summary_stats.h
index a0ded1f2755..35deb4d83c0 100644
--- a/src/mongo/db/query/plan_summary_stats.h
+++ b/src/mongo/db/query/plan_summary_stats.h
@@ -50,14 +50,6 @@ struct PlanSummaryStats {
// The number of milliseconds spent inside the root stage's work() method.
long long executionTimeMillis = 0;
- // The number of collection scans that occur during execution. Note that more than one
- // collection scan may happen during execution (e.g. for $lookup execution).
- long long collectionScans = 0;
-
- // The number of collection scans that occur during execution which are nontailable. Note that
- // more than one collection scan may happen during execution (e.g. for $lookup execution).
- long long collectionScansNonTailable = 0;
-
// Did this plan use an in-memory sort stage?
bool hasSortStage = false;