-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-130716 introduced foldConstant which does not try to read a per-operation limit, so can be used before PQS resolution.
ExpressionNary::optimize() should also do this, to avoid:
d20040| {"t":{"$date":"2026-09-29T02:34:39.487+00:00"},"s":"F", "c":"ASSERT", "id":23081, "ctx":"conn1","msg":"Invariant failure","attr":{"expr":"_isKnobReadAllowed(knob.id)","msg":"PQS-settable query knob 'queryMaxMemoryUsageBytesPerOperation' read while query settings are pending resolution","location":"src/mongo/db/query/query_knobs/query_knob_configuration.h:55:80:T mongo::QueryKnobConfiguration::get(const QueryKnob<T> &) const [T = long long]"}}
- is related to
-
SERVER-130716 Promote query_execution_knobs.idl memory limit knobs to query settings
-
- Closed
-