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

Make createIndexes, dropIndexes, and collMod check shard versions

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2019-12-02, Sharding 2019-12-16

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: