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

mongos cannot implicitly create the shard key index when featureCompatibilityVersion is 3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.4.0-rc0
    • Querying, Sharding
    • None
    • Fully Compatible
    • ALL
    • Query 2016-09-19, Query 2016-10-10

    Description

      After SERVER-25156 is implemented, specifying the "collation" option in an index specification will require building a v=2 index. However, building a v=2 index is disallowed when the server's featureCompatibilityVersion is 3.2. We should allow mongos to still be able to implicitly create the shard key index on collections with a "simple" default collation by not passing {locale: "simple"} to clusterCreateIndex().

      Attachments

        Activity

          People

            maria.vankeulen@mongodb.com Maria van Keulen
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: