From 331153cb62f0e0d0545a5906c3bcc17a90bea02c Mon Sep 17 00:00:00 2001 From: Ruoxin Xu Date: Wed, 27 Jul 2022 14:57:52 +0000 Subject: SERVER-67101 Support microsecond precision in ScopedTimer --- src/mongo/db/query/classic_plan_cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/query/classic_plan_cache.cpp') 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; -- cgit v1.2.1