-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.6.0-rc0
-
Component/s: Internal Code, Querying
-
None
This commit causes a regression such that no yielding will happen if the policy isn't set due to never entering the loop, which enables the auto-yielding policy. This can also be seen in more complicated scenarios where the timer has yet to trigger the policy and nothing is returned thus delaying the policy being set until a result is found (after the timer triggers), and then yielding will happen after that.
The easiest way to see this is to run a count with a query which matches nothing, causing a collection scan.
This also affects maxTimeMS timeouts, and trying to kill the op, since without the yielding checks the count cannot be terminated.
- is related to
-
SERVER-12554 Count queries negatively impact concurrency
- Closed