[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:
Related
related to SERVER-51353 Uncomment test case in validate_repai... Closed
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: SERVER-50185 Update keysPerIndex after repairing index inconsistencies

This also refactors ValidateResult to wrap index-specific validation
errors
Branch: master
https://github.com/mongodb/mongo/commit/da6de1d8f3a60082d12c7392973ec10afa27e1c0

Generated at Thu Feb 08 05:22:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.