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

Bump collection version on any modification of config.collections reshardingFields or allowMigrations fields

    • Fully Compatible

      Any modification of config.collections 'reshardingFields' or 'allowMigrations' field should, in a txn, also bump the collection version. Otherwise, this invariant can be tripped. 

      Additionally, this comparison (which is used in the invariant mentioned above) is wrong and needs to be fixed.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: