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

Extend shardCollection command to accept a collation parameter

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.10
    • Querying, Sharding
    • None
    • Fully Compatible
    • Query 17 (07/15/16)

    Description

      The shardCollection command should have the following collation-related behavior:

      • It should optionally accept a collation parameter. If supplied, the parameter must currently have the value {locale: "simple"}, since non-simple collations are not permitted on the shard key.
      • If the collection being sharded has a non-simple default collation, then the command will fail unless {locale: "simple"} is explicitly supplied by the application.
      • If the collection already exists and is non-empty, an index whose prefix is the shard key must be present, and must have the simple collation.

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              david.storch@mongodb.com David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: