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

have mongorestore ignore "v" option when restoring indexes

    XMLWordPrintableJSON

Details

    • ALL

    Description

      Currently a backup from an old system, restored to a new one, will not recreate the indexes with the current index version. As older index versions are deprecated this could become more than an annoyance.

      Mongorestore should strip "v" when inserting into system.indexes.

      There may be some corner case when you want to keep the old version of the index, but I can't think of one. If so an option can be made to allow mongorestore to propagate the "v" field.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: