diff options
author | Mihai Andrei <mihai.andrei@10gen.com> | 2022-04-13 18:26:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-13 19:46:12 +0000 |
commit | 58fc2711d096a94532d3cf087f0ab476a0c29aee (patch) | |
tree | 51be27233d0f41389dbe151ea21bd0ccdc8343ae /src/mongo/db/query/query_knobs.idl | |
parent | 393a4f9e35d891c74b48e4559bf0237aa682e94c (diff) | |
download | mongo-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.idl | 16 |
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." |