[SERVER-72495] validate checkBSONConformance mode not working correctly with BSON type CodeWScope Created: 03/Jan/23 Updated: 29/Oct/23 Resolved: 05/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc5, 6.3.0-rc0 |
| Type: | Bug | 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 | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v6.2
|
||||
| Sprint: | Execution Team 2023-01-09 | ||||
| Participants: | |||||
| Description |
|
When validating the structural consistency of a BSON element, we handle CodeWScope differently and will move _currElem forwards to the middle of the BSON element. The new BSON conformance checks assume _currElem points at the beginning of the element. |
| Comments |
| Comment by Githook User [ 09/Jan/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': '34732434+YuhongZhang98@users.noreply.github.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit 58bf88893c373c84226671984b8dbfe21d630cb7) |
| Comment by Githook User [ 05/Jan/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': '34732434+YuhongZhang98@users.noreply.github.com', 'username': 'YuhongZhang98'}Message: |