-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Validate
-
None
-
Storage Execution
Currently, in the second phase of validation, if we hit the 1MB memory limit while we are going through all of the missing and extra index entries, we make sure to mark an index as invalid and add a message saying "
Index with name '" << indexName << "' has inconsistencies."
We do this for extra index entries here and for missing index entries here.
Therefore, in a scenario where we have two indexes A,B on a collection and we do not have the memory to list out their respective extra/missing index entries, from the validate output we can conclude that they both may have had missing and/or extra index entries.
From the linked HELP ticket, it looks like there are some cases where it would be helpful to be able to conclude with certainty whether an index had just missing index entries, just extra index entries, or both.
This ticket would add some log in roughly the spots linked above that would print out "Index with name {indexName} has missing index entries" and "Index with name {indexName} has extra index entries", or something along those lines