-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Catalog
-
Catalog and Routing
There is currently no safety check in place when retrieving the multikey field from the catalog. In the `isIndexMultikey()` getter, we do not verify that the multikey flag aligns with the multikeyPath values.
The objective of this ticket is to ensure that we do not return the multikey field without confirming that if the multikey is set to false, the multikeyPath must be empty. It is important to note that the opposite scenario is acceptable: having multikey set to true without any multikey paths is permissible for historical reasons.
- related to
-
SERVER-96069 Check isMultikey() and getMultikeyPaths() consistency when preparing IndexEntry
- Backlog