Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82889

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Erin Zhu
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: