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

Prepare work to implement a serialiser between Sharded DDL and FCV switch between the old and new metadata format

    • Fully Compatible
    • Sharding 2021-04-05, Sharding EMEA 2021-05-03

      As part of the FCV switch from 4.4 to 5.0, we upgrade the Sharding metadata format to be indexed by collection UUID and also to contain timestamps (on downgrade we do the inverse).

      The CatalogCache is already prepared to handle the switch between the two formats gracefully, but DDL such as shardCollection or renameCollection will not work correct during this transition.

      Because of this, we will implement a 2-Phase FCV barrier which will join all concurrently running DDL on the cluster, block any new one from starting, before upgrading/downgrading the metadata and as a second phase will unblock it. This ensures that DDL only needs to be aware of a single metadata format.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: