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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc0
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2016-09-19, Query 2016-10-10

      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().

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

              Created:
              Updated:
              Resolved: