Make createIndexes, dropIndexes, and collMod check shard versions

XMLWordPrintableJSON

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

      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
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: