-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Fully Compatible
-
ALL
-
v8.0, v7.3, v7.0, v6.0, v5.0
-
Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22, Execution Team 2024-08-05
-
200
Some index key generation methods may throw exceptions as part of the control flow, to indicate that a given document has contents which are not compatible with the current set of indexes for a given collection. Collection validation generates the expected keys for each document in order to check them against the index keys on disk for consistency. If an exception is encountered during this process, it fails the validation process early, which could mask other issues.
It is likely we can safely catch certain types of exceptions, record the failure, and continue to validate the rest of the collection. If not, we should make quite clear that the results are incomplete.
- is depended on by
-
SERVER-92405 Investigate CannotIndexParallelArrays exception being encountered during validation
- Open
- is related to
-
SERVER-27392 text index with multi-key prefix is not rejected
- Closed
- related to
-
SERVER-92727 Wrap getKeys() calls in try/catch in dbCheck
- In Code Review