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

The 'validate' command should return 'InvalidOptions' instead of 'CommandNotSupported' for incompatible options

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-11-15

      It would make more sense to return InvalidOptions instead of CommandNotSupported in these checks. This would make the validate command more consistent with option checking in relation to other commands.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: