[SERVER-12536] Only allow shard key types which can be used for an _id Created: 29/Jan/14 Updated: 06/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Yujin Kang Park |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | ShardingRoughEdges, car-investigation, oldshardingemea, shardingemea-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||||||||||
| Sprint: | CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19 | ||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Currently an _id cannot be a:
But sharding only restricts to:
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. |
| Comments |
| Comment by Connie Chen [ 16/Jan/24 ] |
|
Putting this into investigating to understand impact for adding regex |