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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • Fully Compatible
    • Execution Team 2021-11-15

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: