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

shardCollection can create shard index in the wrong shard

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.12
    • Sharding
    • None
    • ALL
    • 0

    Description

      After a movePrimary, if a mongos that is not aware of it receives a shardCollection command on an empty collection, it can create the shard key index on the old primary shard of the database.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: