[SERVER-67045] Create an interface in the testing shell to insert BSON data bypassing any checks Created: 06/Jun/22  Updated: 29/Oct/23  Resolved: 28/Jun/22

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

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-06-13, Execution Team 2022-06-27, Execution Team 2022-07-11
Participants:

 Description   

Currently, we are unable to insert certain BSON documents in the testing shell (e.g. those with duplicate field names). The MongoDB server doesn't really reject these documents, but we will want to return them as warnings to the users with the validate command. We need to create an interface in the testing shell to inject non-conformant documents to the server to test the validate command.



 Comments   
Comment by Githook User [ 28/Jun/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-67045 Create a testing interface to insert non-conformant BSON documents
Branch: master
https://github.com/mongodb/mongo/commit/6f4ad824d65ab928f04356e6e1a2fefc15499884

Generated at Thu Feb 08 06:07:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.