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

Make createIndexes, dropIndexes, and collMod check shard versions

    • Fully Compatible
    • Sharding 2019-12-02, Sharding 2019-12-16

      Make the mongod commands createIndexes, dropIndexes, and collMod start checking shard versions when taking collection locks. These commands should handle the migration critical section in the same way as a write command, i.e. the shard version check should fail if either phase of the critical section is in progress and the thrown stale config error should not be returned to mongos until the critical section is over.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: