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

Ensure find command parsing occurs in FindCmd::parse

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2024-03-18, Service Arch 2024-04-01

      FindCmd::parse currently just creates a FindCmd::Invocation and passes the request's BSON document into it, without actually parsing the request (see here). Instead, parsing is deferred until FindCmd::Invocation::run, where it's one of the first things it does. We should move the parsing logic into FindCmd::parse, since this will allow us to determine if the particular request should be subject to Admission Control or not without an extra request scan.

            Assignee:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: