diff options
Diffstat (limited to 'src/mongo/db/query/classic_plan_cache.cpp')
-rw-r--r-- | src/mongo/db/query/classic_plan_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/classic_plan_cache.cpp b/src/mongo/db/query/classic_plan_cache.cpp index 79975991e4e..f4bbff1af2b 100644 --- a/src/mongo/db/query/classic_plan_cache.cpp +++ b/src/mongo/db/query/classic_plan_cache.cpp @@ -152,8 +152,8 @@ bool shouldCacheQuery(const CanonicalQuery& query) { // // There is one exception: $lookup's implementation in the DocumentSource engine relies on // caching the plan on the inner side in order to avoid repeating the planning process for every - // document on the outer side. To ensure that the 'executionTimeMillis' value is accurate for - // $lookup, we allow the inner side to use the cache even if the query is an explain. + // document on the outer side. To ensure that the 'executionTime' value is accurate for $lookup, + // we allow the inner side to use the cache even if the query is an explain. tassert(6497600, "expCtx is null", query.getExpCtxRaw()); if (query.getExplain() && !query.getExpCtxRaw()->inLookup) { return false; |