[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: |