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

Pre-flight upgrade tool to check for changes breaking backwards compatibility or introducing regressions

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: None
    • Component/s: Admin, Tools
    • Labels:
      None

      Include the ability to do an upgrade check for users coming from versions prior to 2.6.

      Invoke from a 2.6 mongo shell connected to a <2.6 mongod or mongos.
      There is the option to only run the checks on an individual db or collection, as well as the ability to skip document level checks.

      The shell helper checks the following data and index issues that are no longer valid in 2.6:

      • collections without _id field (only possible <= 2.0)
      • documents with index keys that are greater than max size (max size depends on key type and index version)
      • invalid index specs
      • documents with illegal field names

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: