[SERVER-67561] Create the interface to enable `validateBSON()` to run more thorough checks Created: 27/Jun/22  Updated: 29/Oct/23  Resolved: 26/Jul/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-07-11, Execution Team 2022-07-25, Execution Team 2022-08-08
Participants:

 Description   

validateBSON() has been used widely in server when accepting writes or validating records. It's highly optimized and efficient. We are adding extra checks for BSON documents for the validate command, and would want to extend validateBSON() while maintaining its high performance. We will need one mode which will run for all collection validation, and another more thorough mode when checkBSONConsistency is specified.



 Comments   
Comment by Githook User [ 26/Jul/22 ]

Author:

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

Message: SERVER-67561 Create the interface to enable `validateBSON()` to run more thorough checks
Branch: master
https://github.com/mongodb/mongo/commit/541802d0bf8547f1d93e909858f884b6f83c8f42

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