Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16476

Incorrect resharding limitation about not allowing resharding on collections with a uniqueness constraint

    XMLWordPrintableJSON

Details

    Description

      Our resharding docs say:

      Resharding a collection that has a uniqueness constraint is not supported

      This isn't quite true. Resharding requires that all existing unique indexes can be supported by the new shard key, using the same rules as shardCollection. So a collection with a uniqueness constraint can be resharded as long as that existing constraint is still satisfied per the rules here.

      Attachments

        Activity

          People

            nick.villahermosa@mongodb.com Nick Villahermosa
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 weeks, 6 days ago