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

Better error message when starting 2.4 with a 2.6 admin DB

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.4.9
    • Logging, Security
    • Fully Compatible

    Description

      If 2.4 server is started with not properly downgraded 2.6. DB files the user document format it not recognized which is expected behavior.

      However if there are multiple users with the same name in different DBs the 2.4 won't start at all complaining that the unique index invariant has been broken on the admin.system.users collection.

      Make this error message more clear indicating a version mismatch between the server and the DB files. Given how long 2.4.x will be around it might make sense to get this in place to avoid confusion.

      Attachments

        Activity

          People

            andreas.nilsson Andreas Nilsson
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: