[SERVER-78461] Expose BSON validation modes in dbCheck Created: 26/Jun/23  Updated: 21/Nov/23  Resolved: 21/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Evelyn Wu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-78451 Add bson validation to dbCheck Closed
Related
related to SERVER-83069 Add testing for getting a corrupt _id... Backlog
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-11-13, Repl 2023-11-27
Participants:

 Description   

dbCheck currently runs with kDefault granularity for BSON validation. We should consider exposing kExtended and kFull as options to callers of dbCheck. Any errors should be logged as WARNING instead of ERROR, as these are new checks. As a result, users may not be currently conforming to this level of BSON validation.



 Comments   
Comment by Githook User [ 20/Nov/23 ]

Author:

{'name': 'Evelyn Wu', 'email': 'evelyn.wu@mongodb.com', 'username': 'evelynwumongo'}

Message: SERVER-78461 Expose BSON validation modes in dbCheck
Branch: master
https://github.com/mongodb/mongo/commit/f61e8f00605e6a295cbbc97ccad6f088ac313f5d

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