-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
RSS Sydney
-
Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22
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
-