summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_knobs.idl
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-04-13 18:26:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-13 19:46:12 +0000
commit58fc2711d096a94532d3cf087f0ab476a0c29aee (patch)
tree51be27233d0f41389dbe151ea21bd0ccdc8343ae /src/mongo/db/query/query_knobs.idl
parent393a4f9e35d891c74b48e4559bf0237aa682e94c (diff)
downloadmongo-58fc2711d096a94532d3cf087f0ab476a0c29aee.tar.gz
SERVER-65338 Runtime configurable query knob to disable SBE $lookup and $group
Co-authored-by: Ethan Zhang [ethan.zhang@mongodb.com](mailto:ethan.zhang@mongodb.com)
Diffstat (limited to 'src/mongo/db/query/query_knobs.idl')
-rw-r--r--src/mongo/db/query/query_knobs.idl16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_knobs.idl b/src/mongo/db/query/query_knobs.idl
index babf4576fdc..4756981a4b9 100644
--- a/src/mongo/db/query/query_knobs.idl
+++ b/src/mongo/db/query/query_knobs.idl
@@ -637,6 +637,22 @@ server_parameters:
validator:
gt: 0
+ internalQuerySlotBasedExecutionDisableLookupPushdown:
+ description: "If true, the system will not push down $lookup to the SBE execution engine."
+ set_at: [ startup, runtime ]
+ cpp_varname: "internalQuerySlotBasedExecutionDisableLookupPushdown"
+ cpp_vartype: AtomicWord<bool>
+ default: false
+ on_update: plan_cache_util::clearSbeCacheOnParameterChange
+
+ internalQuerySlotBasedExecutionDisableGroupPushdown:
+ description: "If true, the system will not push down $group to the SBE execution engine."
+ set_at: [ startup, runtime ]
+ cpp_varname: "internalQuerySlotBasedExecutionDisableGroupPushdown"
+ cpp_vartype: AtomicWord<bool>
+ default: false
+ on_update: plan_cache_util::clearSbeCacheOnParameterChange
+
internalQueryForceClassicEngine:
description: "If true, the system will use the classic execution engine for all queries,
otherwise eligible queries will execute using the SBE execution engine."