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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: