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

Only allow shard key types which can be used for an _id

    • Catalog and Routing
    • CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19, CAR Team 2024-03-04, CAR Team 2024-03-18, CAR Team 2024-04-01
    • 3

      Currently an _id cannot be a:

      • regex
      • array
      • undefined

      But sharding only restricts to:

      • array

      We need to add regex on the sharding side, and think about "Undefined"s behavior.

      We should also think about adding code/w/scope as well.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: