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

Reorganize the FCV upgrade/downgrade configsvr metadata patch-up around the 2-phase setFCV

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible

      Description

      Reorganize the FCV upgrade/downgrade configsvr metadata patch-up around the 2-phase setFCV.

      On upgrade:

      1. Configsvr finishes invoking setFCV(phase-1) to all shards.
      2. Configsvr performs a first metadata patch-up pass to:
        • $set 'timestamp' and 'collectionUUID' to all config.chunks documents
        • create the uuid_* indexes on config.chunks
        • $set timestamp for all config.collections documents
        • Drop ns_* indexes on config.chunks
      3. Configsvr invokes setFCV(phase-2) to all shards
      4. Configsvr performs a second metadata patch-up pass to:
        • $unset 'ns' from all documents in config.chunks

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jordi.serra-torrens Jordi Serra Torrens
              Reporter:
              jordi.serra-torrens Jordi Serra Torrens
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: