[SERVER-24174] Inconsistent rule for storing dotted field names Created: 16/May/16 Updated: 05/Mar/18 Resolved: 12/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding, Storage |
| Affects Version/s: | 3.3.6 |
| Fix Version/s: | 3.6.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Nicholas Zolnierz |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Sprint: | Query 2017-10-23 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
It looks like _id field has stricter rules than other fields:
In more detail, the dotted field names is currently disallowed in:
and is allowed any other place Also note that mongos is already relying on this behavior:
|
| Comments |
| Comment by Githook User [ 12/Oct/17 ] |
|
Author: {'email': 'nicholas.zolnierz@mongodb.com', 'name': 'Nick Zolnierz', 'username': 'nzolnierzmdb'}Message: |
| Comment by Randolph Tan [ 17/May/16 ] |
|
scotthernandez Added:
to the description. This ticket is mainly about deciding whether to completely disallow dotted field names every where or no where. Or if we decide to keep the current behavior, make sure that it is documented. |
| Comment by Scott Hernandez (Inactive) [ 17/May/16 ] |
|
What behavior/actions do you expect to come out of this server issue? Or better yet, can you describe the bug and what a "fix" is? |