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

Support index on _id with different collation for clustered collections

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      SERVER-61260 added support for collations to clustered collections. Sharding requires an index with collation = simple on the shard key, if we want to shard on _id we'd need to create an explicit index on _id with the simple collation, but currently that's not possible:

      Some of these restrictions were introduced by SERVER-26724 to protect _id index creation when using autoIndexId: false, which is no longer supported. I think it should be OK to relax some of these restrictions, at the very least for clustered collections.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: