[SERVER-78451] Add bson validation to dbCheck Created: 26/Jun/23 Updated: 29/Oct/23 Resolved: 03/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xuerui Fa | Assignee: | Xuerui Fa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted, pm-855-milestone-2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v7.1
|
||||||||||||||||
| Sprint: | Repl 2023-07-24, Repl 2023-08-07, Repl 2023-08-21, Repl 2023-09-04, Repl 2023-09-18, Repl 2023-10-02, Repl 2023-10-16 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 168 | ||||||||||||||||
| Description |
|
Currently in dbCheck, we walk through the _id index and fetch each document. For each document, we will call the validateBSON function, which will ensure that the document is well-formed. We will call this in the kDefault validate mode to begin with so that the BSON validation is performant. |
| Comments |
| Comment by Githook User [ 02/Oct/23 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: |
| Comment by xgen-buildbaron-user [ 30/Sep/23 ] |
|
Ticket re-opened due to revert. replica_sets_multiversion began a consistent failure of jstests/replsets/dbcheck.js |
| Comment by Githook User [ 30/Sep/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 968b9ea86c5b620378fffe8a5b592314930f488f. |
| Comment by Githook User [ 29/Sep/23 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: |
| Comment by xgen-buildbaron-user [ 18/Aug/23 ] |
|
Ticket re-opened due to revert. cqf_experimental_no_passthrough began a consistent failure of jstests/noPassthrough/dbcheck_detects_data_corruption.js |
| Comment by Githook User [ 18/Aug/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 998d9ee633869763710e108beb05116fc28dd709. |
| Comment by Githook User [ 17/Aug/23 ] |
|
Author: {'name': 'Aiden Szeto', 'email': 'aiden.szeto@mongodb.com', 'username': 'aidenszeto'}Message: |