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

Extend shardCollection command to accept a collation parameter

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • None
    • Fully Compatible
    • Query 17 (07/15/16)

      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.

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

              Created:
              Updated:
              Resolved: