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

Internal commands should skip API validation checks

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2021-08-23, Repl 2021-09-06, Repl 2021-09-20

      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.

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

              Created:
              Updated:
              Resolved: