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

Ensure find command parsing occurs in FindCmd::parse

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: