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

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

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

      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:
            xinhao.zhang@mongodb.com Xin Hao Zhang (Inactive)
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: