-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
We should always expect one index key per record for a specific index. Exceptions include multiKey indexes, where we can expect more than one key, and partial indexes, where we may have zero keys if the filter is not matched, or sparse indexes if the field is null. Therefore, we should generate errors for any unexpected number of keys encountered during the validation process.