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

    XMLWordPrintable

    Details

    • Sprint:
      Sharding 2021-04-05, Sharding EMEA 2021-05-03

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-sharding-emea Backlog - Sharding EMEA
            Reporter:
            jordi.serra-torrens Jordi Serra Torrens
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: