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

    XMLWordPrintableJSON

Details

    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: