-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Repl 2023-11-27
The missing index keys check uses findLoc to retrieve the record ID of a keystring. findLoc returns the RecordId of the first key whose prefix matches the keystring, so we may overlook a missing index key for fields that have identical values.
To check for this, we can verify that the length of the expected index keys is equal to the number of unique keystrings we retrieve
- duplicates
-
SERVER-90765 Validate multikey indexes in dbCheck
- In Code Review