Improve error message when trying to create wildcard index on 4.2 under FCV 4.0

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.14
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      An attempt to create a wildcard index under FCV 4.0 with a 4.1/4.2 binary, mongod returns the following error:

      {
          "ok" : 0,
          "errmsg" : "Unknown index plugin 'wildcard'",
          "code" : 67,
          "codeName" : "CannotCreateIndex"
      } 

      We should change this error to state that featureCompatibilityVersion must be 4.2 to create a wildcard index.

            Assignee:
            Xin Hao Zhang (Inactive)
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: