-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2026-06-08
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The RYOW cache `TxnWildcardMultikeyPaths::appendMatchingPaths` currently returns every cached multikey path for a given `(collectionUuid, indexName)` bucket, ignoring the query's fieldSet. This was a deliberate simplification (SERVER-127544): faithfully mirroring `getMultikeyPathIndexIntervalsForField` — point-prefix probes plus a numeric-component range expansion — is subtle and bug-prone, and the cache is scoped to a single txn snapshot so realistic sizes are modest.
Goal:
- Add a `fieldSet` parameter back to `appendMatchingPaths` and filter cached paths to those that are prefixes of (or equal to) any queried field, including numeric-component range semantics from `getMultikeyPathIndexIntervalsForField`.
- is related to
-
SERVER-127544 Investigate impact of using a side recovery unit for multikeyness reads on txns
-
- Closed
-