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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.5, 2.7.7
    • Affects Version/s: 2.6.0
    • Component/s: 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.

      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?

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

              Created:
              Updated:
              Resolved: