[SERVER-50185] Update keysPerIndex after repairing index inconsistencies Created: 07/Aug/20 Updated: 29/Oct/23 Resolved: 27/Aug/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: | Shin Yee Tan | Assignee: | Louis Williams |
| 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-09-07 | ||||||||
| Participants: | |||||||||
| Description |
|
keysPerIndex is set in _validateIndexes. After this number is set, if there are index inconsistencies we will _gatherIndexEntryErrors. If validate is in repair mode, the number of keys per index changes. keysPerIndex should be updated after index consistency repairs are made. |
| Comments |
| Comment by Githook User [ 26/Aug/20 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: This also refactors ValidateResult to wrap index-specific validation |