-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
For compound index, when the first field is used in $lookup, SBE only generates index key with a single field instead of all fields
{$lookup: {from: coll.getName(), localField: 'a', foreignField: 'a', as: 'array'}
The generated keys are {a: 1}, {a: 1} instead of {a: 1, b: MinKey}, {a: 1, b: MaxKey}
- related to
-
SERVER-85577 Missing fields in KeyString cause incorrect point bound validation
- Closed