Rate-limiting on view should be consistent across calls to registerRequest

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0, 7.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • v7.2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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)

            Assignee:
            Erin Zhu
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: