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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: