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

Support collations on clustered collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24

      Clustered collections do not respect collations passed to the create command.

      db.createCollection('c', {clusteredIndex: {key: {_id: 1}, unique: true}, collation: {locale: "en", strength: 2}})
      db.c.insert({_id: "FOO"})
      db.c.find({_id: "foo"}) // Returns nothing, but should perform case-insensitive match
      

      As scoped, we should instead return an error when created with a collation.

            Assignee:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: