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

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

    XMLWordPrintableJSON

Details

    • Catalog and Routing
    • Minor Change
    • CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19
    • 3

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: