diff options
author | Ben Shteinfeld <ben.shteinfeld@mongodb.com> | 2022-08-17 21:16:10 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-17 23:52:54 +0000 |
commit | 43f9a78849f884bd01608ee5129eb7ac6df16b4f (patch) | |
tree | 7f1df7c36f0d4f16d987e2d9498b5e0edba414ce /src/mongo/db/curop.h | |
parent | d798c5fd75a5854fb8fefc590280aa701fa5e420 (diff) | |
download | mongo-43f9a78849f884bd01608ee5129eb7ac6df16b4f.tar.gz |
SERVER-62760 Implement CQF Query Logging
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 15dcb2e0154..998f2400c73 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -263,13 +263,17 @@ public: boost::optional<uint32_t> queryHash; // Has a value if this operation is a query. True if the execution tree for the find part of the - // query was built using the classic query engine, false if it was built in SBE. + // query was built exclusively using the classic query engine, false if any part was built using + // SBE. boost::optional<bool> classicEngineUsed; // Has a value if this operation is an aggregation query. True if `DocumentSources` were // involved in the execution tree for this query, false if they were not. boost::optional<bool> documentSourceUsed; + // Indicates whether this operation used the common query framework (CQF). + bool cqfUsed{false}; + // Tracks whether an aggregation query has a lookup stage regardless of the engine used. bool pipelineUsesLookup{false}; |