Ensure find command parsing occurs in FindCmd::parse

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: