In the case of running a find or aggregate over a view, registerRequest will be called (at least) twice: once for the initial command, then once for the command with the resolved view pipeline. The operation should only be registered for query stats with the initial command; if the initial command is rate-limited though, it is possible for the resolved view command to not be rate limited. That should not be possible.
Created with Jira Integration+ for will.buerger (will.buerger@mongodb.com)
- is depended on by
-
SERVER-85111 Tracking: Known M2 correctness bugs
- Closed