-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
RSS Sydney
-
Execution Team 2024-07-22
In the linked HELP ticket, there appears to be a cluster that is encountering the exception "
cannot index parallel array" while running validate. This is interesting because we perform checks when inserting documents/creating indexes to make sure that we do not index on parallel arrays: for example, the following would not be allowed:
db.coll.insert(a: [1, 2], b: [1, 2]
// This errors with CannotIndexParallelArrays
db.coll.createIndex({a:1, b:1})
As part of this ticket, we should investigate how it's possible that this index was created and was caught during validation. It also is interesting that this exception seems to be thrown while trying to access index keys here, which calls into here, ultimately leading to our exception being thrown from here.
In the HELP ticket, it is mentioned that this is preventing other inconsistencies from being found, because its causing validation to stop and return. The other part of this ticket would look into whether it would be safe to handle this error and proceed with validation.
- depends on
-
SERVER-84114 Exceptions thrown while generating index keys fail collection validation
- Closed