-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
RSS Sydney
-
Fully Compatible
-
Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22, MorningKaraoke 2024-10-01, BananaDuck - 2024-10-15
Currently, when we encounter index inconsistencies (for example, having a multikey index on a field that is not actually multikey) we report this both in the `errors` field and the `indexDetails` members of the validate() response object.
For the multikey example, we add the error message to the IndexValidateResults object for a specific index here. This is then added to the general `errors` array here, and then added to the 'indexDetails' object here.
Reporting these inconsistencies in both places can balloon the size of the validate response object, causing it to hit the 16MB document size limit faster. This ticket would look into reporting these inconsistencies only in the indexDetails object.
- split from
-
SERVER-93766 Refactor Validation code
- Investigating
- split to
-
SERVER-95671 Clean up ValidateResults -> BSON conversion
- Closed