-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
ALL
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Two test-only issues in agg_non_ticketed_metrics.js:
- with internalQueryFrameworkControl: "forceClassicEngine"jstests/noPassthrough/query/server_status/agg_non_ticketed_metrics.js:76 assert can fail. The sleepAfterReleasingAggTicket failpoint used mode: "alwaysOn", assuming the aggregate releases its execution ticket exactly once. DocumentSourceCursor actually pulls input in exponentially growing internal batches.
- The test didn't pin internalQueryFrameworkControl, so its assertions only held on whichever engine a variant defaulted to. When SBE pushes $sort/$group into the query solution, that work runs inside the same PlanExecutor call as the scan and the ticket is held throughout, so there's no non-ticketed interval to count.