[SERVER-49117] Remove validation for storage of documents with fieldnames containing '.' and '$' for insert and update Created: 25/Jun/20  Updated: 29/Oct/23  Resolved: 06/May/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Katherine Wu (Inactive) Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by NODE-2753 Unskip failing spec test on server 4.5 Backlog
is depended on by SERVER-49474 Remove '.' and '$' fieldname storage ... Closed
Documented
Problem/Incident
Related
related to CDRIVER-3771 /Collection/insert_one_validate faili... Backlog
Backwards Compatibility: Minor Change
Sprint: Query 2020-07-13, Query 2020-07-27, Query Optimization 2021-04-05, Query Optimization 2021-04-19, Query Optimization 2021-05-03, Query Optimization 2021-05-17
Participants:
Linked BF Score: 45

 Description   

Remove server validation for insert and update (both replacement and modifier style) commands to store documents with fieldnames containing the '.' and '$' characters.

This ticket might involve doing some related work for findAndModify.



 Comments   
Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Alya Berciu', 'email': 'alyacarina@gmail.com', 'username': 'alyacb'}

Message: SERVER-49117 Remove storage validation of '$' prefixes in insert and update
Branch: master
https://github.com/mongodb/mongo/commit/995f0406d72b1a15d18b2df2d8c0afa0c4c5b774

Comment by Githook User [ 06/Aug/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: Revert "SERVER-49117 Remove storage validation of '$' and '.' in field names for insert and update"

This reverts commit f1194464424569250152308e3cae1ecbade7fb71.
Branch: master
https://github.com/mongodb/mongo/commit/e90324a09559eb3398c7c2b3360088e69496c3fd

Comment by Githook User [ 04/Aug/20 ]

Author:

{'name': 'Junhson Jean-Baptiste', 'email': 'junhson.jean-baptiste@mongodb.com', 'username': 'junhsonjb'}

Message: SERVER-49117 Remove storage validation of '$' and '.' in field names for insert and update
Branch: master
https://github.com/mongodb/mongo/commit/f1194464424569250152308e3cae1ecbade7fb71

Generated at Thu Feb 08 05:18:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.