Internal commands should skip API validation checks

XMLWordPrintableJSON

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

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

                Created:
                Updated:
                Resolved: