[SERVER-67520] Add `checkBSONConsistency` option to the validate command Created: 24/Jun/22 Updated: 29/Oct/23 Resolved: 12/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | 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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2022-07-11, Execution Team 2022-07-25 |
| Participants: |
| Description |
|
We will add a new option called “checkBSONConsistency” to the validate command, which will run more thorough checks on BSON documents in addition to the current validations on BSON documents. The syntax is as follows: {validate: collName, checkBSONConsistency: true}The checks will also be included in the foreground full validation mode. The new option can be specified with {full: true}, {enforceFastCount: true}, and {background: true}, but cannot be used together with {repair: true} or {metadata: true}. |
| Comments |
| Comment by Githook User [ 11/Jul/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Githook User [ 11/Jul/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |