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

MongoDB upgrade 2.4 to 2.6 check returns error in config.changelog collection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0
    • 2.6.5, 2.7.7
    • Admin
    • None
    • Fully Compatible
    • ALL
    • Hide

      Run db.upgradeCheckAllDBs() on mongo 2.6 shell, connected to a 2.4 mongos instance.

      Show
      Run db.upgradeCheckAllDBs() on mongo 2.6 shell, connected to a 2.4 mongos instance.

    Description

      In running the db.upgradeCheckAllDBs() command to check for issues in order to upgrade from MongoDB 2.4 to 2.6, an error is reported:

      Checking collection config.changelog
      Collection Error: lack of _id index on collection: config.changelog

      I don't think the _id index check should occur on collections in the config database, right? This check is skipped for several other internal collections.

      Is it safe to ignore this error and move forward with the upgrade if no other errors are reported?

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            jason@cloudwords.com Jason Buchanan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: