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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.5, 2.7.7
    • Component/s: Admin
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Steps To Reproduce:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: