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

use collation in the shardCollection request, not collection default collation, to set shard key's collation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.9
    • Sharding
    • None
    • ALL
    • v3.4
    • Sharding 2017-07-31

    Description

      The shardCollection command should pass the collation sent in the shardCollection request, not the collection's default collation retrieved from the shard as it currently does, to the shardCollection helper. The shardCollection helper uses the passed-in collation to set the collation for the shard key, which actually cannot have anything but the simple collation.

      This seems like it has been a bug since its implementation?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: