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

Bump the minor version of the newest chunk on change allowMigrations and reshardingFields

    • Fully Compatible
    • Sharding 2021-04-05, Sharding EMEA 2021-05-03, Sharding EMEA 2021-06-28, Sharding EMEA 2021-07-12

      Currently, when changing the 'allowMigrations' or 'reshardingFIelds' field on config.collections, we are bumping the major version of a random chunk (or one random chunk per shard in resharding_coordinator). This can be optimized by bumping only the minor version of the newest chunk. This achieves the same guarantees of ending up with a new collection version, but it avoid the drawback of invalidating the versioning info of a shard.

            Assignee:
            simon.gratzer@mongodb.com Simon Gratzer (Inactive)
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: