[SERVER-49341] Validate repair mode should delete records that fail BSON validation Created: 07/Jul/20 Updated: 29/Oct/23 Resolved: 21/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Shin Yee Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Execution Team 2020-07-13, Execution Team 2020-07-27 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
In validate repair mode, documents that fail BSON validation should be deleted. Note that startup --repair currently deletes corrupt records when performing a collection scan to rebuild indexes. This ticket would move this logic inside validate during repair mode. |
| Comments |
| Comment by Githook User [ 20/Jul/20 ] |
|
Author: {'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com'}Message: |