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

Create a script to rebuild unique indexes in right format after a downgrade

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Storage Non-NYC 2018-04-09, Storage Engines 2018-07-30, Storage Engines 2018-08-13

      Description

      When a MongoDB 4.2 database is downgraded to FCV=4.0, the existing unique indexes in data format 11 and 12 should continue to operate in this format. Create a script that users can run that will identify and rebuild all of these indexes in the older format of 6 and 8.

      Coordinate with docs team regarding publishing of this script.

        Attachments

        1. script_rev1.js
          1 kB
          Sulabh Mahajan

          Issue Links

            Activity

              People

              Assignee:
              luke.chen Luke Chen
              Reporter:
              neha.khatri Neha Khatri
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: