diff options
author | Ruoxin Xu <ruoxin.xu@mongodb.com> | 2022-07-26 10:19:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-26 11:32:37 +0000 |
commit | e7d2be0dae29265e2a6efafd4753debf11b9e96f (patch) | |
tree | 394a15ee762d5eee6abad5d492e35330789c6dcf /src/mongo/db/query/classic_plan_cache.cpp | |
parent | e922e94ad274ef6d712d3a454a6d8427a736f2f6 (diff) | |
download | mongo-e7d2be0dae29265e2a6efafd4753debf11b9e96f.tar.gz |
SERVER-67101 Support microsecond precision in ScopedTimer
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; |