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

Internal commands should skip API validation checks

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Repl 2021-08-23, Repl 2021-09-06, Repl 2021-09-20

    Description

      In SERVER-58794, we added Command::acceptsAnyApiVersionParameters to two internal commands to skip API validation checks on those commands. We should consider applying that flag to all internal commands, since internal commands should not need to go through API validation. To implement this, we can rename the flag to something along like isInternalCommand() and setting that flag to true for all internal commands.

      Attachments

        Activity

          People

            adi.zaimi@mongodb.com Adi Zaimi
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: