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

Change config.chunks indexes on upgrade/downgrade

    • Sharding
    • Fully Compatible

      On FCV upgrade to 5.0, make changes to the indexes for config.chunks as to:

      • Create uuid-based indexes (uuid_1_min_1, uuid_1_shard_1_min_1, uuid_1_lastmod_1)
      • Drop nss-based indexes (ns_1_min_1, ns_1_shard_1_min_1, ns_1_lastmod_1)

      On FCV downgrade from 5.0 to earlier:

      • Create the nss-based indexes
      • Drop the uuid-based indexes

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: