[SERVER-71359] Return warnings on unrecognized BSON binary data subtypes during validation Created: 15/Nov/22  Updated: 29/Oct/23  Resolved: 07/Mar/23

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

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

Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-03-20
Participants:

 Description   

Currently we are not returning any warnings when seeing an unrecognized BSON binary data subtype. We should add this check to the Extended validator in bson validate. https://github.com/10gen/mongo/blob/148c522ffefc93dcc8227579b583691335cd4f2f/src/mongo/bson/bson_validate.cpp#L125



 Comments   
Comment by Githook User [ 07/Mar/23 ]

Author:

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

Message: SERVER-71359 Return warnings on unrecognized BSON binary data subtypes during validation
Branch: master
https://github.com/mongodb/mongo/commit/0fbe918564117824303f8ff860ea3b1e30cd787e

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