MongoDB 3.4 error when failing to start because of a $jsonSchema validator should guide user to upgrade

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a user tries to start a 3.4 mongod instance, but the database contains a collection that has a $jsonSchema validator, the error message looks like this:

      I STORAGE  [initandlisten] exception in initAndListen: 2 unknown top level operator: $jsonSchema, terminating
      

      Not terrible, but it would be nice if there were a MustUpgrade error code and a message indicating that $jsonSchema validators require MongoDB 3.6.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: