-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Repl 2024-07-08, Repl 2024-07-22, Repl 2024-08-05, Repl 2024-08-19, Repl 2024-09-02, Repl 2024-09-16, Repl 2024-09-30
During the validation process for missing keys, we should implement two additional checks:
If the document indicates that the index should be marked as multi-key (shouldMarkIndexAsMultikey), but the index is not a multi-key index (isMultikey), we should generate an error.
If the index is marked as multi-key, but the multi-key paths (getMultikeyPaths) do not cover (covers) the record key, we should generate an error.
For checking extra keys, no further modifications are necessary as it should function as designed.
Additionally, we will add a test to ensure it is working as expected.
- is duplicated by
-
SERVER-81074 Handle multikey metadata and multikey paths in dbCheck
- Closed
-
SERVER-79936 Handle multikey indexes in missing index keys check
- Closed